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