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

[dependencies]
8
impl-trait-for-tuples = "0.2.0"
9
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
10
parity-scale-codec = { version = "2.3.0", default-features = false, features = ["derive"] }
11
log = { version = "0.4.13", default-features = false }
12
rustc-hex = { version = "2.1.0", default-features = false }
13
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
14
serde = { version = "1.0.130", default-features = false }
15
serde_derive = { version = "1.0.117", optional = true }
16
static_assertions = "1.1.0"
17

18
beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
19
20
21
22
23
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 }
24
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
25
26
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 }
27
sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
28

29
30
31
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 }
32
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
33
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Squirrel's avatar
Squirrel committed
34
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
35
36
37
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-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
38
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
39
pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
40
pallet-beefy-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Kian Paimani's avatar
Kian Paimani committed
41
frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
42
pallet-bags-list = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
43

44
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
Squirrel's avatar
Squirrel committed
45
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
46
47

primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
48
libsecp256k1 = { version = "0.7.0", default-features = false }
49
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
50

51
slot-range-helper = { path = "slot_range_helper", default-features = false }
Shawn Tabrizi's avatar
Shawn Tabrizi committed
52
53
xcm = { path = "../../xcm", default-features = false }

54
[dev-dependencies]
55
hex-literal = "0.3.3"
56
frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" }
57
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
58
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" }
59
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
60
serde_json = "1.0.67"
61
libsecp256k1 = "0.7.0"
62
63

[features]
64
default = ["std"]
65
66
67
no_std = []
std = [
	"bitvec/std",
68
	"parity-scale-codec/std",
69
	"scale-info/std",
70
	"log/std",
71
72
73
74
	"rustc-hex/std",
	"serde_derive",
	"serde/std",
	"primitives/std",
75
76
77
	"inherents/std",
	"sp-core/std",
	"sp-api/std",
78
	"sp-std/std",
79
80
	"sp-io/std",
	"frame-support/std",
81
82
	"pallet-authorship/std",
	"pallet-balances/std",
83
	"pallet-beefy-mmr/std",
84
85
86
87
88
	"pallet-session/std",
	"pallet-staking/std",
	"pallet-timestamp/std",
	"pallet-vesting/std",
	"pallet-transaction-payment/std",
89
	"pallet-treasury/std",
90
	"pallet-election-provider-multi-phase/std",
91
	"slot-range-helper/std",
92
93
94
95
	"sp-runtime/std",
	"sp-session/std",
	"sp-staking/std",
	"frame-system/std",
96
	"libsecp256k1/std",
yaanhyy's avatar
yaanhyy committed
97
	"runtime-parachains/std",
Shawn Tabrizi's avatar
Shawn Tabrizi committed
98
	"xcm/std",
99
	"sp-npos-elections/std",
100
	"pallet-bags-list/std"
101
]
102
runtime-benchmarks = [
103
	"libsecp256k1/hmac",
104
	"libsecp256k1/static-context",
105
	"frame-benchmarking",
André Silva's avatar
André Silva committed
106
	"frame-support/runtime-benchmarks",
107
	"frame-system/runtime-benchmarks",
108
109
	"runtime-parachains/runtime-benchmarks",
	"pallet-babe/runtime-benchmarks",
110
]
111
112
113
114
115
116
117
118
119
120
121
try-runtime = [
	"runtime-parachains/try-runtime",
	"pallet-authorship/try-runtime",
	"pallet-balances/try-runtime",
	"pallet-session/try-runtime",
	"pallet-staking/try-runtime",
	"pallet-timestamp/try-runtime",
	"pallet-vesting/try-runtime",
	"pallet-transaction-payment/try-runtime",
	"pallet-treasury/try-runtime",
]