Cargo.toml 6.4 KB
Newer Older
1
2
[package]
name = "polkadot-test-runtime"
3
version = "0.8.27"
4
5
6
7
8
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
build = "build.rs"

[dependencies]
9
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
10
11
12
parity-scale-codec = { version = "1.3.5", default-features = false, features = ["derive"] }
log = { version = "0.4.11", optional = true }
rustc-hex = { version = "2.1.0", default-features = false }
13
serde = { version = "1.0.118", default-features = false }
14
serde_derive = { version = "1.0.117", optional = true }
15
smallvec = "1.6.1"
16

17
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
18
19
20
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
21
offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
22
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
23
24
25
26
27
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
28
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
29
30
tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
31

32
33
34
35
36
pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
37
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
38
39
40
41
42
43
44
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
45
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
46
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
47
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" }
48
49
50
51
52
frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
53
54
55
56

runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
polkadot-parachain = { path = "../../parachain", default-features = false }
57
polkadot-runtime-parachains = { path = "../parachains", default-features = false }
58
59

[dev-dependencies]
60
61
62
hex-literal = "0.3.1"
libsecp256k1 = "0.3.5"
tiny-keccak = "2.0.2"
63
64
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
65
serde_json = "1.0.61"
66
67

[build-dependencies]
68
substrate-wasm-builder = "3.0.0"
69
70
71
72
73
74

[features]
default = ["std"]
no_std = []
only-staking = []
std = [
75
	"authority-discovery-primitives/std",
76
	"pallet-authority-discovery/std",
77
78
79
	"bitvec/std",
	"primitives/std",
	"rustc-hex/std",
80
	"parity-scale-codec/std",
81
82
83
84
85
86
	"inherents/std",
	"sp-core/std",
	"polkadot-parachain/std",
	"sp-api/std",
	"tx-pool-api/std",
	"block-builder-api/std",
87
	"offchain-primitives/std",
88
	"sp-std/std",
89
90
	"sp-io/std",
	"frame-support/std",
91
92
93
	"pallet-authorship/std",
	"pallet-balances/std",
	"pallet-transaction-payment/std",
94
	"pallet-transaction-payment-rpc-runtime-api/std",
95
96
97
98
99
	"frame-executive/std",
	"pallet-grandpa/std",
	"pallet-indices/std",
	"pallet-nicks/std",
	"pallet-offences/std",
100
101
	"sp-runtime/std",
	"sp-staking/std",
102
103
104
105
106
107
108
	"pallet-session/std",
	"pallet-staking/std",
	"frame-system/std",
	"frame-system-rpc-runtime-api/std",
	"pallet-timestamp/std",
	"sp-version/std",
	"pallet-vesting/std",
109
110
111
	"serde_derive",
	"serde/std",
	"log",
112
	"pallet-babe/std",
113
114
	"babe-primitives/std",
	"sp-session/std",
115
	"pallet-randomness-collective-flip/std",
116
117
	"runtime-common/std",
]