Cargo.toml 4.78 KB
Newer Older
1
2
[package]
name = "polkadot-runtime-common"
3
version = "0.8.29"
4
5
6
7
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
8
9
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
10
log = { version = "0.4.13", optional = true }
11
rustc-hex = { version = "2.1.0", default-features = false }
12
serde = { version = "1.0.123", default-features = false }
13
serde_derive = { version = "1.0.117", optional = true }
14
static_assertions = "1.1.0"
15

16
17
18
19
20
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
21
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
22
23
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
24

25
26
27
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
28
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
29
30
31
32
33
34
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
35
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
36
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
37
38

primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
39
libsecp256k1 = { version = "0.3.5", default-features = false, optional = true }
40
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
41

Shawn Tabrizi's avatar
Shawn Tabrizi committed
42
43
xcm = { path = "../../xcm", default-features = false }

44
[dev-dependencies]
45
hex-literal = "0.3.1"
46
47
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
48
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
49
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
50
sp-election-providers = { git = "https://github.com/paritytech/substrate", branch = "master" }
51
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" }
52
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" }
53
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" }
54
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
55
trie-db = "0.22.3"
56
serde_json = "1.0.61"
57
libsecp256k1 = "0.3.5"
58
59

[features]
60
default = ["std"]
61
62
63
no_std = []
std = [
	"bitvec/std",
64
	"parity-scale-codec/std",
65
66
67
68
69
	"log",
	"rustc-hex/std",
	"serde_derive",
	"serde/std",
	"primitives/std",
70
71
72
	"inherents/std",
	"sp-core/std",
	"sp-api/std",
73
	"sp-std/std",
74
75
	"sp-io/std",
	"frame-support/std",
76
77
	"pallet-authorship/std",
	"pallet-balances/std",
78
	"sp-runtime/std",
79
	"sp-session/std",
80
	"sp-staking/std",
81
82
83
84
85
86
	"pallet-session/std",
	"pallet-staking/std",
	"frame-system/std",
	"pallet-timestamp/std",
	"pallet-vesting/std",
	"pallet-transaction-payment/std",
yaanhyy's avatar
yaanhyy committed
87
	"runtime-parachains/std",
Shawn Tabrizi's avatar
Shawn Tabrizi committed
88
	"xcm/std",
89
]
90
runtime-benchmarks = [
91
	"libsecp256k1/hmac",
92
	"frame-benchmarking",
André Silva's avatar
André Silva committed
93
	"frame-support/runtime-benchmarks",
94
	"frame-system/runtime-benchmarks",
95
]