-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathCargo.toml
More file actions
28 lines (24 loc) · 797 Bytes
/
Cargo.toml
File metadata and controls
28 lines (24 loc) · 797 Bytes
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
[package]
name = "xp-protocol"
version = "4.0.0"
authors = ["The ChainX Authors"]
edition = "2018"
[dependencies]
codec = { package = "parity-scale-codec", version = "2.3.1", features = ["derive"], default-features = false }
serde = { version = "1.0", features = ["derive"], optional = true }
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
# Substrate primitives
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11", default-features = false }
# ChainX primitives
chainx-primitives = { path = "..", default-features = false }
[features]
default = ["std"]
std = [
"codec/std",
"serde",
"scale-info/std",
# Substrate primitives
"sp-runtime/std",
# ChainX primitives
"chainx-primitives/std",
]