Cargo.toml 6.4 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.0"
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
bitvec = { version = "0.14.0", default-features = false, features = ["alloc"] }
Gavin Wood's avatar
Gavin Wood committed
10
codec = { package = "parity-scale-codec", version = "~1.0.0", default-features = false, features = ["derive"] }
Gav's avatar
Gav committed
11
log = { version = "0.3", optional = true }
Gavin Wood's avatar
Gavin Wood committed
12
13
rustc-hex = { version = "2.0.1", default-features = false }
safe-mix = { version = "1.0", default-features = false}
14
serde = { version = "1.0", default-features = false }
15
serde_derive = { version = "1.0", optional = true }
Gavin Wood's avatar
Gavin Wood committed
16

Gavin Wood's avatar
Gavin Wood committed
17
18
19
20
21
22
23
24
25
26
27
28
babe-primitives = { package = "substrate-consensus-babe-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
client = { package = "substrate-client", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
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
29

Gavin Wood's avatar
Gavin Wood committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
authorship = { package = "srml-authorship", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
babe = { package = "srml-babe", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
balances = { package = "srml-balances", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
collective = { package = "srml-collective", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
democracy = { package = "srml-democracy", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
elections = { package = "srml-elections", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
executive = { package = "srml-executive", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
finality-tracker = { package = "srml-finality-tracker", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
grandpa = { package = "srml-grandpa", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
im-online = { package = "srml-im-online", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
indices = { package = "srml-indices", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
membership = { package = "srml-membership", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
offences = { package = "srml-offences", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
session = { package = "srml-session", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
srml-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
staking = { package = "srml-staking", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
thiolliere's avatar
thiolliere committed
46
srml-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
47
48
49
50
sudo = { package = "srml-sudo", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
system = { package = "srml-system", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
timestamp = { package = "srml-timestamp", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
treasury = { package = "srml-treasury", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
51

52
primitives = { package = "polkadot-primitives", path = "../primitives", default-features = false }
53

54
[dev-dependencies]
55
hex-literal = "0.2.0"
56
57
libsecp256k1 = "0.2.1"
tiny-keccak = "1.4.2"
Gavin Wood's avatar
Gavin Wood committed
58
59
keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
substrate-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
60
trie-db = "0.15"
61
serde_json = "1.0"
62
63

[build-dependencies]
64
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.3" }
65

Gav's avatar
Gav committed
66
67
[features]
default = ["std"]
68
no_std = []
69
only-staking = []
Gav's avatar
Gav committed
70
std = [
71
	"bitvec/std",
72
	"primitives/std",
73
	"rustc-hex/std",
74
	"codec/std",
75
	"inherents/std",
76
	"substrate-primitives/std",
77
	"client/std",
78
	"offchain-primitives/std",
79
	"rstd/std",
80
81
	"sr-io/std",
	"srml-support/std",
Gavin Wood's avatar
Gavin Wood committed
82
	"authorship/std",
83
	"balances/std",
84
85
	"collective/std",
	"elections/std",
86
87
	"democracy/std",
	"executive/std",
Gavin Wood's avatar
Gavin Wood committed
88
	"finality-tracker/std",
89
	"grandpa/std",
90
	"im-online/std",
91
	"indices/std",
92
	"membership/std",
93
	"offences/std",
94
	"sr-primitives/std",
95
	"sr-staking-primitives/std",
96
97
98
99
100
101
102
	"session/std",
	"staking/std",
	"sudo/std",
	"system/std",
	"timestamp/std",
	"treasury/std",
	"version/std",
103
104
105
	"serde_derive",
	"serde/std",
	"log",
106
	"safe-mix/std",
107
108
	"babe/std",
	"babe-primitives/std",
Gav's avatar
Gav committed
109
]