-
Notifications
You must be signed in to change notification settings - Fork 123
/
Copy pathCargo.toml
34 lines (30 loc) · 1.27 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
[package]
name = "chainx-primitives"
version = "5.2.3"
authors = ["The ChainX Authors"]
edition = "2021"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
serde = { version = "1.0", features = ["derive"], optional = true }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
# Substrate primitives
sp-application-crypto = { git = "https://github.com/chainx-org/substrate", branch = "polkadot-v0.9.18-fix2", default-features = false }
sp-core = { git = "https://github.com/chainx-org/substrate", branch = "polkadot-v0.9.18-fix2", default-features = false }
sp-runtime = { git = "https://github.com/chainx-org/substrate", branch = "polkadot-v0.9.18-fix2", default-features = false }
sp-std = { git = "https://github.com/chainx-org/substrate", branch = "polkadot-v0.9.18-fix2", default-features = false }
# Substrate pallets
frame-system = { git = "https://github.com/chainx-org/substrate", branch = "polkadot-v0.9.18-fix2", default-features = false }
[features]
default = ["std"]
std = [
"codec/std",
"serde",
"scale-info/std",
# Substrate primitives
"sp-application-crypto/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
# Substrate pallets
"frame-system/std",
]