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

[dependencies]
8
impl-trait-for-tuples = "0.2.0"
9
10
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
parity-scale-codec = { version = "2.0.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
serde = { version = "1.0.123", default-features = false }
14
serde_derive = { version = "1.0.117", optional = true }
15
static_assertions = "1.1.0"
16

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

27
28
29
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 }
30
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
31
32
33
34
35
36
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 }
37
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
38

39
40
41
pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false }
pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }

42
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
43
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features=false, optional = true }
44
45

primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
46
libsecp256k1 = { version = "0.3.5", default-features = false }
47
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
48

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

52
[dev-dependencies]
53
hex-literal = "0.3.1"
54
55
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
56
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
57
frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" }
58
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
59
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" }
60
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" }
61
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
62
trie-db = "0.22.3"
63
serde_json = "1.0.61"
64
libsecp256k1 = "0.3.5"
65
66

[features]
67
default = ["std"]
68
69
no_std = []
std = [
70
	"beefy-primitives/std",
71
	"bitvec/std",
72
	"parity-scale-codec/std",
73
	"log/std",
74
75
76
77
	"rustc-hex/std",
	"serde_derive",
	"serde/std",
	"primitives/std",
78
79
80
	"inherents/std",
	"sp-core/std",
	"sp-api/std",
81
	"sp-std/std",
82
83
	"sp-io/std",
	"frame-support/std",
84
85
	"pallet-authorship/std",
	"pallet-balances/std",
86
87
	"pallet-beefy/std",
	"pallet-mmr/std",
88
89
90
91
92
	"pallet-session/std",
	"pallet-staking/std",
	"pallet-timestamp/std",
	"pallet-vesting/std",
	"pallet-transaction-payment/std",
93
	"pallet-treasury/std",
94
	"slot-range-helper/std",
95
96
97
98
	"sp-runtime/std",
	"sp-session/std",
	"sp-staking/std",
	"frame-system/std",
99
	"libsecp256k1/std",
yaanhyy's avatar
yaanhyy committed
100
	"runtime-parachains/std",
Shawn Tabrizi's avatar
Shawn Tabrizi committed
101
	"xcm/std",
102
]
103
runtime-benchmarks = [
104
	"libsecp256k1/hmac",
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",
]