-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathCargo.toml
More file actions
34 lines (28 loc) · 970 Bytes
/
Cargo.toml
File metadata and controls
34 lines (28 loc) · 970 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
29
30
31
32
33
34
[package]
name = "xpallet-mining-asset-rpc-runtime-api"
version = "4.0.0"
authors = ["The ChainX Authors"]
edition = "2018"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false }
# Substrate primitives
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11", default-features = false }
# ChainX primitives
chainx-primitives = { path = "../../../../../primitives", default-features = false }
# ChainX pallets
xpallet-mining-asset = { path = "../../", default-features = false }
[features]
default = ["std"]
std = [
"codec/std",
# Substrate primitives
"sp-api/std",
"sp-std/std",
# ChainX primitives
"chainx-primitives/std",
# ChainX pallets
"xpallet-mining-asset/std",
]