Cargo.toml 5.47 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.11", 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 }
Gavin Wood's avatar
Gavin Wood committed
16
parity-codec = { version = "4.1", 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
25
26
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" }
Gavin Wood's avatar
Gavin Wood committed
27
authorship = { package = "srml-authorship", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
28
balances = { package = "srml-balances", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
29
30
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" }
31
32
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
33
finality-tracker = { package = "srml-finality-tracker", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
34
35
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" }
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
[dev-dependencies]
46
hex-literal = "0.2.0"
47
48
libsecp256k1 = "0.2.1"
tiny-keccak = "1.4.2"
49
keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
50
substrate-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
51
52
53
54
trie-db = "0.14"

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

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