Cargo.toml 4.33 KB
Newer Older
1
2
[package]
name = "polkadot-runtime-common"
Gavin Wood's avatar
Gavin Wood committed
3
version = "0.8.10"
4
5
6
7
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
8
9
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
10
11
12
13
log = { version = "0.3.9", optional = true }
rustc-hex = { version = "2.0.1", default-features = false }
serde = { version = "1.0.102", default-features = false }
serde_derive = { version = "1.0.102", 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
28
29
30
31
32
authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
staking = { package = "pallet-staking", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
vesting = { package = "pallet-vesting", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
33
offences = { package = "pallet-offences", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
34
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
35
36

primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
37
libsecp256k1 = { version = "0.3.2", default-features = false, optional = true }
38
39
40

[dev-dependencies]
hex-literal = "0.2.1"
41
42
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
43
44
45
babe = { package = "pallet-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "master" }
46
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" }
47
treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "master" }
Gavin Wood's avatar
Gavin Wood committed
48
trie-db = "0.20.0"
49
serde_json = "1.0.41"
50
libsecp256k1 = "0.3.2"
51
52

[features]
53
default = ["std"]
54
55
56
57
no_std = []
std = [
	"bitvec/std",
	"codec/std",
58
59
60
61
62
	"log",
	"rustc-hex/std",
	"serde_derive",
	"serde/std",
	"primitives/std",
63
64
65
	"inherents/std",
	"sp-core/std",
	"sp-api/std",
66
	"sp-std/std",
67
68
69
70
71
	"sp-io/std",
	"frame-support/std",
	"authorship/std",
	"balances/std",
	"sp-runtime/std",
72
	"sp-session/std",
73
74
75
76
77
	"sp-staking/std",
	"session/std",
	"staking/std",
	"system/std",
	"timestamp/std",
Gavin Wood's avatar
Gavin Wood committed
78
	"vesting/std",
79
]
80
runtime-benchmarks = [
81
	"libsecp256k1/hmac",
82
	"frame-benchmarking",
André Silva's avatar
André Silva committed
83
84
	"frame-support/runtime-benchmarks",
	"system/runtime-benchmarks",
85
]