Cargo.toml 8.34 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-runtime"
Gavin Wood's avatar
Gavin Wood committed
3
version = "0.6.17"
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
15
safe-mix = { version = "1.0.0", default-features = false }
serde = { version = "1.0.102", default-features = false }
serde_derive = { version = "1.0.102", optional = true }
Gavin Wood's avatar
Gavin Wood committed
16

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

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

61
primitives = { package = "polkadot-primitives", path = "../primitives", default-features = false }
62
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 = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
substrate-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
70
71
trie-db = "0.15.2"
serde_json = "1.0.41"
72
73

[build-dependencies]
74
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.4" }
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
	"substrate-primitives/std",
89
	"polkadot-parachain/std",
Gavin Wood's avatar
Gavin Wood committed
90
91
92
	"sr-api/std",
	"tx-pool-api/std",
	"block-builder-api/std",
93
	"offchain-primitives/std",
94
	"rstd/std",
95
	"sr-io/std",
96
	"paint-support/std",
Gavin Wood's avatar
Gavin Wood committed
97
	"authorship/std",
98
	"balances/std",
99
	"transaction-payment/std",
100
	"paint-transaction-payment-rpc-runtime-api/std",
101
	"collective/std",
102
	"elections-phragmen/std",
103
104
	"democracy/std",
	"executive/std",
Gavin Wood's avatar
Gavin Wood committed
105
	"finality-tracker/std",
106
	"grandpa/std",
107
	"im-online/std",
108
	"indices/std",
109
	"membership/std",
110
	"nicks/std",
111
	"offences/std",
112
	"sr-primitives/std",
113
	"sr-staking-primitives/std",
114
115
116
117
	"session/std",
	"staking/std",
	"sudo/std",
	"system/std",
118
	"system_rpc_runtime_api/std",
119
120
121
	"timestamp/std",
	"treasury/std",
	"version/std",
122
123
124
	"serde_derive",
	"serde/std",
	"log",
125
	"safe-mix/std",
126
127
	"babe/std",
	"babe-primitives/std",
128
	"substrate-session/std",
129
	"randomness-collective-flip/std",
Gav's avatar
Gav committed
130
]