forked from scs/substrate-api-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
executable file
·92 lines (84 loc) · 4.41 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
88
89
90
91
[package]
name = "substrate-api-client"
version = "0.6.0"
authors = ["Supercomputing Systems AG <[email protected]>"]
edition = "2021"
[workspace]
members = [
".",
"compose-macros",
"client-keystore",
"node-api",
"test-no-std",
"tutorials/api-client-tutorial",
]
[dependencies]
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
log = { version = "0.4.14", optional = true }
#TODO get from parity when our changes are accepted
metadata = { version = "15.0.0", default-features = false, git = "https://github.com/integritee-network/frame-metadata", package = "frame-metadata", features = ["v14", "full_derive"] }
#metadata = { version = "15.0.0", default-features = false, package = "frame-metadata", features = ["v14"] }
primitive-types = { version = "0.11.1", optional = true, features = ["codec"] }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
serde_json = { version = "1.0.79", optional = true }
thiserror = { version = "1.0.30", optional = true }
ws = { version = "0.9.2", optional = true, features = ["ssl"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ['derive'] }
# Substrate dependencies
sp-core = { version = "6.0.0", default-features = false, features = ["full_crypto"], git = "https://github.com/dbpunk-labs/substrate.git", branch = "polkadot-v0.9.27" }
sp-version = { version = "5.0.0-dev", optional = true, git = "https://github.com/dbpunk-labs/substrate.git", package = "sp-version" , branch = "polkadot-v0.9.27" }
balances = { version = "4.0.0-dev", optional = true, git = "https://github.com/dbpunk-labs/substrate.git", package = "pallet-balances" , branch = "polkadot-v0.9.27" }
staking = { version = "4.0.0-dev", optional = true, git = "https://github.com/dbpunk-labs/substrate.git", package = "pallet-staking" , branch = "polkadot-v0.9.27" }
system = { version = "4.0.0-dev", optional = true, git = "https://github.com/dbpunk-labs/substrate.git", package = "frame-system" , branch = "polkadot-v0.9.27" }
transaction-payment = { version = "4.0.0-dev", optional = true, git = "https://github.com/dbpunk-labs/substrate.git", package = "pallet-transaction-payment" , branch = "polkadot-v0.9.27" }
sp-rpc = { version = "6.0.0", optional = true, git = "https://github.com/dbpunk-labs/substrate.git", branch = "polkadot-v0.9.27" }
sp-runtime = { version = "6.0.0", default-features = false, git = "https://github.com/dbpunk-labs/substrate.git", branch = "polkadot-v0.9.27" }
support = { version = "4.0.0-dev", default-features = false, git = "https://github.com/dbpunk-labs/substrate.git", package = "frame-support", branch = "polkadot-v0.9.27" }
sp-std = { version = "4.0.0-dev", default-features = false, git = "https://github.com/dbpunk-labs/substrate.git", branch = "polkadot-v0.9.27" }
sp-runtime-interface = { version = "6.0.0", default-features = false, git = "https://github.com/dbpunk-labs/substrate.git", branch = "polkadot-v0.9.27" }
# local deps
ac-compose-macros = { path = "compose-macros", default-features = false }
ac-node-api = { path = "node-api", default-features = false }
ac-primitives = { path = "primitives", default-features = false }
[dev-dependencies]
env_logger = "0.9.0"
node-template-runtime = { git = "https://github.com/dbpunk-labs/substrate.git", branch = "polkadot-v0.9.27" }
node-runtime = { git = "https://github.com/dbpunk-labs/substrate.git", branch = "polkadot-v0.9.27" }
db3-runtime = { git = "https://github.com/dbpunk-labs/db3.git", branch = "fix/db3-runtime-compile" }
sp-keyring = { version = "6.0.0", git = "https://github.com/dbpunk-labs/substrate.git", branch = "polkadot-v0.9.27" }
pallet-sql-db = { git = "https://github.com/dbpunk-labs/db3.git", branch = "fix/db3-runtime-compile" }
clap = { version = "2.33", features = ["yaml"] }
wabt = "0.10.0"
mysql_cdc = { git = "https://github.com/rusuly/mysql_cdc.git"}
[features]
default = ["std", "ws-client"]
# To support `no_std` builds in non-32 bit environments.
disable_target_static_assertions = [
"sp-runtime-interface/disable_target_static_assertions"
]
std = [
"sp-core/std",
"codec/std",
"metadata/std",
"sp-version",
"balances",
"system",
"sp-runtime/std",
"support/std",
"sp-std/std",
"serde/std",
"serde_json",
"log",
"hex/std",
"primitive-types",
"thiserror",
"sp-rpc",
"sp-runtime-interface/std",
"transaction-payment/std",
# local deps
"ac-compose-macros/std",
"ac-node-api/std",
"ac-primitives/std",
]
ws-client = ["ws"]
staking-xt = ["std", "staking"]