Cargo.toml 5.34 KB
Newer Older
1
2
[package]
name = "polkadot-runtime-common"
3
version = "0.8.30"
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", optional = true }
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
18
19
20
21
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 }
22
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
23
24
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 }
25

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

38
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
39
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features=false, optional = true }
40
41

primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
42
libsecp256k1 = { version = "0.3.5", default-features = false, optional = true }
43
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
44

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

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

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