Cargo.toml 8.31 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-runtime"
3
version = "0.7.21"
Gav's avatar
Gav committed
4
authors = ["Parity Technologies <admin@parity.io>"]
5
edition = "2018"
6
build = "build.rs"
Gav's avatar
Gav committed
7
8

[dependencies]
9
10
11
bitvec = { version = "0.15.2", default-features = false, features = ["alloc"] }
codec = { package = "parity-scale-codec", version = "1.1.0", default-features = false, features = ["derive"] }
log = { version = "0.3.9", optional = true }
Gavin Wood's avatar
Gavin Wood committed
12
rustc-hex = { version = "2.0.1", default-features = false }
13
14
serde = { version = "1.0.102", default-features = false }
serde_derive = { version = "1.0.102", optional = true }
Gavin Wood's avatar
Gavin Wood committed
15

Gavin Wood's avatar
Gavin Wood committed
16
17
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
18
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
19
20
21
22
23
24
25
26
27
28
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
rstd = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
version = { package = "sp-version", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
29

Gavin Wood's avatar
Gavin Wood committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
authority-discovery = { package = "pallet-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
babe = { package = "pallet-babe", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
finality-tracker = { package = "pallet-finality-tracker", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
grandpa = { package = "pallet-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false, features = ["migrate-authorities"] }
identity = { package = "pallet-identity", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
im-online = { package = "pallet-im-online", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
nicks = { package = "pallet-nicks", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
offences = { package = "pallet-offences", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
51
staking = { package = "pallet-staking", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
52
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
53
54
55
56
57
system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
system_rpc_runtime_api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
58
vesting = { package = "pallet-vesting", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
59

60
61
62
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
polkadot-parachain = { path = "../../parachain", default-features = false }
63

64
[dev-dependencies]
65
66
67
hex-literal = "0.2.1"
libsecp256k1 = "0.3.2"
tiny-keccak = "1.5.0"
68
69
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
70
trie-db = "0.20.0"
71
serde_json = "1.0.41"
72
73

[build-dependencies]
Gavin Wood's avatar
Gavin Wood committed
74
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.5" }
75

Gav's avatar
Gav committed
76
77
[features]
default = ["std"]
78
no_std = []
79
only-staking = []
Gav's avatar
Gav committed
80
std = [
81
82
	"authority-discovery-primitives/std",
	"authority-discovery/std",
83
	"bitvec/std",
84
	"primitives/std",
85
	"rustc-hex/std",
86
	"codec/std",
87
	"inherents/std",
88
	"sp-core/std",
89
	"polkadot-parachain/std",
90
	"sp-api/std",
Gavin Wood's avatar
Gavin Wood committed
91
92
	"tx-pool-api/std",
	"block-builder-api/std",
93
	"offchain-primitives/std",
94
	"rstd/std",
95
	"frame-support/std",
Gavin Wood's avatar
Gavin Wood committed
96
	"authorship/std",
97
	"balances/std",
98
	"transaction-payment/std",
99
	"pallet-transaction-payment-rpc-runtime-api/std",
100
	"collective/std",
101
	"elections-phragmen/std",
102
103
	"democracy/std",
	"executive/std",
Gavin Wood's avatar
Gavin Wood committed
104
	"finality-tracker/std",
105
	"grandpa/std",
106
	"identity/std",
107
	"im-online/std",
108
	"indices/std",
109
	"membership/std",
110
	"nicks/std",
111
	"offences/std",
112
113
	"sp-runtime/std",
	"sp-staking/std",
114
115
116
	"session/std",
	"staking/std",
	"system/std",
117
	"system_rpc_runtime_api/std",
118
119
120
	"timestamp/std",
	"treasury/std",
	"version/std",
121
122
123
	"serde_derive",
	"serde/std",
	"log",
124
125
	"babe/std",
	"babe-primitives/std",
Gavin Wood's avatar
Gavin Wood committed
126
	"sp-session/std",
127
	"randomness-collective-flip/std",
128
	"runtime-common/std",
129
	"sudo/std",
Gavin Wood's avatar
Gavin Wood committed
130
	"vesting/std",
Gav's avatar
Gav committed
131
]