-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathCargo.toml
More file actions
103 lines (94 loc) · 5.65 KB
/
Cargo.toml
File metadata and controls
103 lines (94 loc) · 5.65 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[workspace]
resolver = "3"
members = [
"api-client",
"keystore",
"compose-macros",
"primitives",
"examples/async",
"examples/sync",
"examples/wasm",
"node-api",
"test-no-std",
"testing/async",
"testing/sync",
]
# Exclude the "test-no-std" package as it needs special treatment for compilation
default-members = [
"api-client",
"keystore",
"compose-macros",
"primitives",
"examples/async",
"examples/sync",
"examples/wasm",
"node-api",
"testing/async",
"testing/sync",
]
[workspace.dependencies]
# crates.io no_std
async-trait = "0.1"
array-bytes = "9.3"
bitvec = { version = "1.0", default-features = false, features = ["alloc"] }
codec = { package = "parity-scale-codec", version = "3.7", default-features = false, features = ["derive"] }
derive_more = { version = "2.1", default-features = false, features = ["from"] }
either = { version = "1.6", default-features = false }
env_logger = "0.11"
impl-serde = { version = "0.5", default-features = false }
frame-metadata = { version = "23.0", default-features = false, features = ["current", "serde_full", "decode"] }
futures-util = { version = "0.3", default-features = false }
hex = { version = "0.4", default-features = false, features = ["alloc"] }
log = { version = "0.4", default-features = false }
maybe-async = { version = "0.2" }
parking_lot = "0.12"
primitive-types = { version = "0.14", default-features = false, features = ["serde_no_std", "scale-info"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false }
tokio = { version = "1.46", features = ["rt-multi-thread", "macros", "time"] }
tokio-util = "0.7"
scale-bits = { version = "0.7", default-features = false, features = ["scale-info", "serde"] }
scale-decode = { version = "0.16", default-features = false, features = ["primitive-types", "derive"] }
scale-encode = { version = "0.10", default-features = false, features = ["bits", "primitive-types", "derive"] }
scale-info = { version = "2.1", default-features = false, features = ["derive"] }
scale-value = { version = "0.18", default-features = false }
# crates.io std only
url = { version = "2.5" }
# websocket dependent features
jsonrpsee = { version = "0.26", features = ["async-client", "client-ws-transport-tls", "jsonrpsee-types"] }
tungstenite = { version = "0.28", features = ["native-tls", "url"] }
ws = { version = "0.9", features = ["ssl"] }
# Substrate no_std dependencies
pallet-balances = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-application-crypto = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { default-features = false, features = ["full_crypto", "serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-crypto-hashing = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-io = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-inherents = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime-interface = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-staking = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-storage = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-version = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-weights = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
# substrate std / wasm only
frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-contracts = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-recovery = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-society = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
# local deps
ac-keystore = { default-features = false, path = "keystore", version = "1.17" }
ac-compose-macros = { default-features = false, path = "compose-macros", version = "1.17" }
ac-node-api = { default-features = false, path = "node-api", version = "1.17" }
ac-primitives = { default-features = false, path = "primitives", version = "1.17" }
substrate-api-client = { default-features = false, path = "api-client", version = "1.17" }
# Only used as dev-dependencies
rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
test-case = "3.1"
sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }