-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (40 loc) · 1.38 KB
/
Cargo.toml
File metadata and controls
46 lines (40 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "staking-miner"
version = "1.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0" }
scale-info = { package = "scale-info", version = "2.7.0" }
clap = { version = "3.2", features = ["derive", "env"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
jsonrpsee = { version = "0.16", features = ["ws-client"] }
log = "0.4"
serde = "1.0"
serde_json = "1.0"
futures = "0.3"
thiserror = "1.0"
tokio = { version = "1.28", features = ["macros", "rt-multi-thread", "sync", "signal"] }
pin-project-lite = "0.2"
# subxt
subxt = "0.29"
scale-value = "0.10.0"
# substrate
frame-election-provider-support = { git = "https://github.com/paritytech/substrate" }
pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate" }
sp-npos-elections = { git = "https://github.com/paritytech/substrate" }
frame-support = { git = "https://github.com/paritytech/substrate" }
sp-runtime = { git = "https://github.com/paritytech/substrate" }
# prometheus
prometheus = "0.13"
hyper = { version = "0.14.25", features = ["server", "http1", "http2", "tcp"] }
once_cell = "1.18"
[dev-dependencies]
anyhow = "1"
assert_cmd = "2.0"
sp-storage = { git = "https://github.com/paritytech/substrate" }
regex = "1"
[features]
default = []
slow-tests = []
staking-miner-playground-tests = []