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

[dependencies]
8
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
9
codec = { package = "parity-scale-codec", version = "1.3.4", 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
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
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
36
37

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

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

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