Cargo.toml 7.94 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-runtime"
3
version = "0.6.10"
Gav's avatar
Gav committed
4
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"] }
Gavin Wood's avatar
Gavin Wood committed
10
codec = { package = "parity-scale-codec", version = "~1.0.0", default-features = false, features = ["derive"] }
Gav's avatar
Gav committed
11
log = { version = "0.3", optional = true }
Gavin Wood's avatar
Gavin Wood committed
12
13
rustc-hex = { version = "2.0.1", default-features = false }
safe-mix = { version = "1.0", default-features = false}
14
serde = { version = "1.0", default-features = false }
15
serde_derive = { version = "1.0", optional = true }
Gavin Wood's avatar
Gavin Wood committed
16

17
18
19
20
21
22
23
24
25
26
27
28
29
authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", 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" }
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" }
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
sr-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
sr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
sr-staking-primitives = { 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" }
substrate-serializer = { 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" }
version = { package = "sr-version", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
30

31
32
33
34
35
authority-discovery = { package = "srml-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
authorship = { package = "srml-authorship", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
babe = { package = "srml-babe", 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" }
transaction-payment = { package = "srml-transaction-payment", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
Kian Paimani's avatar
Kian Paimani committed
36
srml-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
37
38
39
40
41
collective = { package = "srml-collective", 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" }
elections-phragmen = { package = "srml-elections-phragmen", 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" }
finality-tracker = { package = "srml-finality-tracker", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
42
grandpa = { package = "srml-grandpa", git = "https://github.com/paritytech/substrate", default-features = false, features = ["migrate-authorities"], branch = "polkadot-master" }
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
im-online = { package = "srml-im-online", 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" }
membership = { package = "srml-membership", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
nicks = { package = "srml-nicks", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
offences = { package = "srml-offences", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
randomness-collective-flip = { package = "srml-randomness-collective-flip", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
session = { package = "srml-session", 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" }
staking = { package = "srml-staking", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
srml-staking-reward-curve = { git = "https://github.com/paritytech/substrate", 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" }
system_rpc_runtime_api = { package = "srml-system-rpc-runtime-api", 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" }
Gavin Wood's avatar
Gavin Wood committed
58

59
primitives = { package = "polkadot-primitives", path = "../primitives", default-features = false }
60
polkadot-parachain = { path = "../parachain", default-features = false }
61

62
[dev-dependencies]
63
hex-literal = "0.2.0"
64
libsecp256k1 = "0.3.1"
65
tiny-keccak = "1.4.2"
66
67
keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
substrate-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
68
trie-db = "0.15"
69
serde_json = "1.0"
70
71

[build-dependencies]
72
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.3" }
73

Gav's avatar
Gav committed
74
75
[features]
default = ["std"]
76
no_std = []
77
only-staking = []
Gav's avatar
Gav committed
78
std = [
79
80
	"authority-discovery-primitives/std",
	"authority-discovery/std",
81
	"bitvec/std",
82
	"primitives/std",
83
	"rustc-hex/std",
84
	"codec/std",
85
	"inherents/std",
86
	"substrate-primitives/std",
87
	"polkadot-parachain/std",
88
	"client/std",
89
	"offchain-primitives/std",
90
	"rstd/std",
91
92
	"sr-io/std",
	"srml-support/std",
Gavin Wood's avatar
Gavin Wood committed
93
	"authorship/std",
94
	"balances/std",
95
	"transaction-payment/std",
Kian Paimani's avatar
Kian Paimani committed
96
	"srml-transaction-payment-rpc-runtime-api/std",
97
	"collective/std",
98
	"elections-phragmen/std",
99
100
	"democracy/std",
	"executive/std",
Gavin Wood's avatar
Gavin Wood committed
101
	"finality-tracker/std",
102
	"grandpa/std",
103
	"im-online/std",
104
	"indices/std",
105
	"membership/std",
106
	"nicks/std",
107
	"offences/std",
108
	"sr-primitives/std",
109
	"sr-staking-primitives/std",
110
111
112
113
	"session/std",
	"staking/std",
	"sudo/std",
	"system/std",
114
	"system_rpc_runtime_api/std",
115
116
117
	"timestamp/std",
	"treasury/std",
	"version/std",
118
119
120
	"serde_derive",
	"serde/std",
	"log",
121
	"safe-mix/std",
122
123
	"babe/std",
	"babe-primitives/std",
124
	"substrate-session/std",
125
	"randomness-collective-flip/std",
Gav's avatar
Gav committed
126
]