Cargo.toml 6.27 KB
Newer Older
Gav's avatar
Gav committed
1
2
3
4
[package]
name = "polkadot-runtime"
version = "0.1.0"
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"] }
10
rustc-hex = { version = "2.0.1", default-features = false }
Gav's avatar
Gav committed
11
log = { version = "0.3", optional = true }
12
serde = { version = "1.0", default-features = false }
13
serde_derive = { version = "1.0", optional = true }
14
safe-mix = { version = "1.0", default-features = false}
15
primitives = { package = "polkadot-primitives", path = "../primitives", default-features = false }
16
codec = { package = "parity-scale-codec", version = "~1.0.0", default-features = false, features = ["derive"] }
17
substrate-serializer = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
18
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
19
20
21
sr-io = { 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" }
substrate-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
22
23
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" }
24
offchain-primitives = { package = "substrate-offchain-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
25
authorship = { package = "srml-authorship", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
26
balances = { package = "srml-balances", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
27
28
collective = { package = "srml-collective", 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" }
29
30
democracy = { package = "srml-democracy", 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" }
Gavin Wood's avatar
Gavin Wood committed
31
finality-tracker = { package = "srml-finality-tracker", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
32
grandpa = { package = "srml-grandpa", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
33
im-online = { package = "srml-im-online", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
34
indices = { package = "srml-indices", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
35
membership = { package = "srml-membership", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
36
offences = { package = "srml-offences", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
37
sr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
38
sr-staking-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
39
40
41
42
43
44
45
session = { package = "srml-session", 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" }
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" }
version = { package = "sr-version", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
46
47
48
babe = { package = "srml-babe", 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" }
substrate-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
49

50
[dev-dependencies]
51
hex-literal = "0.2.0"
52
53
libsecp256k1 = "0.2.1"
tiny-keccak = "1.4.2"
54
keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
55
substrate-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
56
trie-db = "0.15"
57
58
59

[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.1" }
60

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