-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Cargo.toml
70 lines (62 loc) · 2.8 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[workspace]
members = [
"bootstrap",
"client",
"compatibility-tests",
"core",
"crawler",
"fat",
"monitor-client",
"relay",
]
default-members = ["client"]
resolver = "2"
[workspace.package]
authors = ["Avail Team"]
repository = "https://github.com/availproject/avail-light"
[workspace.dependencies]
# Internal deps
avail-rust = { git = "https://github.com/availproject/avail.git", rev = "741aa316" }
dusk-plonk = { git = "https://github.com/availproject/plonk.git", tag = "v0.12.0-polygon-2" }
avail-light-core = { path = "./core" }
anyhow = "1.0.71"
async-std = { version = "1.12.0", features = ["attributes"] }
async-trait = "0.1.73"
clap = { version = "4.4.4", features = ["derive", "cargo"] }
color-eyre = { version = "0.6.2", default-features = false }
confy = "0.5.1"
hex = "0.4.3"
rand = { version = "0.8.5", default-features = false }
# TODO: Replace with released libp2p version once webrtc-websys compilation issue is resolved
libp2p = { git = "https://github.com/libp2p/rust-libp2p", rev = "aa9317fbdd88cc4c9a39ea608fa1d57e022297fc", features = ["kad", "identify", "ping", "mdns", "autonat", "relay", "dcutr", "upnp", "noise", "yamux", "dns", "metrics", "tokio", "macros", "tcp", "quic", "serde", "websocket"] }
libp2p-allow-block-list = { git = "https://github.com/libp2p/rust-libp2p", rev = "aa9317fbdd88cc4c9a39ea608fa1d57e022297fc" }
libp2p-webrtc-websys = { git = "https://github.com/libp2p/rust-libp2p", rev = "aa9317fbdd88cc4c9a39ea608fa1d57e022297fc" }
multihash = { version = "0.14.0", default-features = false, features = ["blake3", "sha3"] }
semver = "1.0.23"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.35", default-features = false, features = ["sync", "macros", "io-util", "rt", "time"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tracing = "0.1.35"
tracing-subscriber = { version = "0.3.17", features = ["json", "env-filter"] }
uuid = { version = "1.3.4", features = ["v4", "fast-rng", "macro-diagnostics", "serde"] }
void = "1.0.2"
warp = "0.3.6"
futures = { version = "0.3.15", default-features = false, features = ["std", "async-await"] }
# OpenTelemetry
opentelemetry = "0.27.1"
opentelemetry-otlp = { version = "0.27.0", features = ["grpc-tonic", "metrics"] }
opentelemetry_sdk = { version = "0.27.1", features = ["metrics", "rt-tokio"] }
[profile.debug-fast]
inherits = "release"
debug = true
[profile.release]
incremental = false
[profile.maxperf]
inherits = "release"
lto = "fat"
codegen-units = 1
[patch.crates-io]
# Patching sp-io since some dependencies references patched and some non-patched versions,
# and we need to specify `disable-allocator` feature to enable wasm compilation.
# Patch needs to match patched tag of dependencies, for feature toggle to be applied.
sp-io = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10" }