forked from availproject/avail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
87 lines (75 loc) · 2.87 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "avail-subxt"
version = "0.5.0"
edition = "2021"
authors = ["Avail Project <[email protected]>"]
homepage = "https://www.availproject.org/"
license = "Apache-2.0"
[lib]
name = "avail_subxt"
path = "src/lib.rs"
[[bin]]
name = "e2e"
path = "src/e2e.rs"
[dependencies]
avail-base = { path = "../base" }
avail-core = { git = "https://github.com/availproject/avail-core", tag = "core-node-3", features = ["serde"] }
# Other
derive_more = "0.99.17"
structopt = "0.3.25"
anyhow = "1.0.66"
tokio = { version = "1.21.2", features = ["process", "fs", "rt-multi-thread"] }
tokio-util = "0.7"
futures = "0.3.25"
jsonrpsee = { version = "0.22", features = [
"client",
"async-client",
"macros",
] }
num_enum = "0.5.9"
hex = "0.4"
curve25519-dalek = "2.1.3"
schnorrkel = "0.9.1"
serde = { version = "1.0.195", features = ["derive", ] }
serde-hex = "0.1"
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
# Substrate
subxt = "0.34"
sp-core = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10", default-features = false }
sp-runtime = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10", default-features = false }
codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [
"derive",
"full",
"bit-vec",
] }
scale-info = { version = "2.5.0", features = ["bit-vec"] }
bounded-collections = { version = "0.2.0", features = ["serde"] }
[dev-dependencies]
avail-core = { git = "https://github.com/availproject/avail-core", tag = "core-node-3", features = ["serde", "runtime"] }
async-std = { version = "1.12.0", features = ["attributes", "tokio1"] }
futures = "0.3.13"
hex-literal = "0.3.4"
test-case = "1.2.3"
log = "0.4.14"
pretty_env_logger = "0.4.0"
derive_more = "0.99.17"
indicatif = "0.17"
rand = "0.8.5"
# Substrate
sp-keyring = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10" }
binary-merkle-tree = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10", default-features = false }
subxt-signer = "0.34"
# Dependency `subxt` uses it's own 'version' of sp-core so we need to patch it :)
[patch.crates-io]
sp-core = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10" }
sp-io = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10" }
sp-runtime = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10" }
sp-std = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10" }
# frame-metadata = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10" }
[features]
default = [ "api-dev", "native", "std" ]
api-dev = []
api-main = []
std = [ "codec/std", "sp-core/std" ]
native = [ "subxt/native" ]
[workspace]