Cargo.toml 4.82 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"
Gav's avatar
Gav committed
6
7

[dependencies]
8
bitvec = { version = "0.8", default-features = false, features = ["alloc"] }
9
rustc-hex = { version = "2.0.1", default-features = false }
Gav's avatar
Gav committed
10
log = { version = "0.3", optional = true }
11
serde = { version = "1.0", default-features = false }
12
serde_derive = { version = "1.0", optional = true }
13
safe-mix = { version = "1.0", default-features = false}
14
15
primitives = { package = "polkadot-primitives", path = "../primitives", default-features = false }
parity-codec = { version = "3.0", default-features = false, features = ["derive"] }
16
substrate-serializer = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
17
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
18
19
20
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" }
21
22
23
24
25
26
27
28
29
30
31
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" }
consensus_aura = { package = "substrate-consensus-aura-primitives", 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" }
aura = { package = "srml-aura", 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" }
council = { package = "srml-council", 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" }
executive = { package = "srml-executive", 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" }
indices = { package = "srml-indices", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
32
sr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
33
34
35
36
37
38
39
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" }
40

41
[dev-dependencies]
42
hex-literal = "0.2.0"
43
44
libsecp256k1 = "0.2.1"
tiny-keccak = "1.4.2"
45
keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
46
substrate-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
47
trie-db = "0.12"
48

Gav's avatar
Gav committed
49
50
51
[features]
default = ["std"]
std = [
52
	"bitvec/std",
53
	"primitives/std",
54
	"rustc-hex/std",
55
	"parity-codec/std",
56
	"inherents/std",
57
	"substrate-primitives/std",
58
59
60
	"client/std",
	"offchain_primitives/std",
	"rstd/std",
61
62
	"sr-io/std",
	"srml-support/std",
63
64
65
66
67
68
	"balances/std",
	"council/std",
	"democracy/std",
	"executive/std",
	"grandpa/std",
	"indices/std",
69
	"sr-primitives/std",
70
71
72
73
74
75
76
	"session/std",
	"staking/std",
	"sudo/std",
	"system/std",
	"timestamp/std",
	"treasury/std",
	"version/std",
77
78
79
	"serde_derive",
	"serde/std",
	"log",
80
	"safe-mix/std",
81
82
	"consensus_aura/std",
	"aura/std",
Gav's avatar
Gav committed
83
]