-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (67 loc) · 1.86 KB
/
Cargo.toml
File metadata and controls
74 lines (67 loc) · 1.86 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "polkadot-staking-miner"
version = "1.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2024"
rust-version = "1.93.0"
license = "GPL-3.0"
repository = "https://github.com/paritytech/polkadot-staking-miner"
homepage = "https://www.parity.io/"
description = "A tool to submit NPoS election solutions for substrate based chains"
resolver = "2"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.7.5" }
scale-info = { package = "scale-info", version = "2.11.6" }
clap = { version = "4.6", features = ["derive", "env"] }
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
jsonrpsee = { version = "0.26.0", features = ["ws-client"] }
log = "0.4"
serde = "1.0"
serde_json = "1.0"
futures = "0.3"
thiserror = "2.0"
tokio = { version = "1.50", features = [
"macros",
"rt-multi-thread",
"sync",
"signal",
] }
pin-project-lite = "0.2"
# subxt
scale-value = "0.18"
subxt = { version = "0.50.0", features = ["reconnecting-rpc-client"] }
subxt-rpcs = { version = "0.50.0", features = ["reconnecting-rpc-client"] }
ss58-registry = "1.9"
# polkadot-sdk
polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk", features = [
"frame-election-provider-support",
"frame-support",
"sp-npos-elections",
"sp-core",
"sp-runtime",
"sp-version",
"pallet-election-provider-multi-block",
], branch = "master" }
# prometheus
prometheus = "0.14"
hyper = { version = "1.8.1", features = ["server", "http1", "http2", "client"] }
hyper-util = { version = "0.1.20", features = [
"server-auto",
"server-graceful",
"tokio",
"client",
"client-legacy"
] }
http-body-util = "0.1.0"
once_cell = "1.21"
url = "2.5.8"
[dev-dependencies]
anyhow = "1"
assert_cmd = "2.2"
regex = "1"
tempfile = "3.27"
[features]
integration-tests = []
[package.metadata.docs.rs]
default-features = true
rustdoc-args = ["--cfg", "docsrs"]