Cargo.toml 5.96 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
24
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" }
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
sr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
37
38
39
40
41
42
43
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" }
44
45
46
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" }
47

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

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

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