# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.81.0" name = "polkadot-staking-miner" version = "1.6.0" authors = ["Parity Technologies "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A tool to submit NPoS election solutions for substrate based chains" homepage = "https://www.parity.io/" readme = "README.md" license = "GPL-3.0" repository = "https://github.com/paritytech/polkadot-staking-miner" [lib] name = "polkadot_staking_miner" path = "src/lib.rs" [[bin]] name = "polkadot-staking-miner" path = "src/main.rs" [[test]] name = "cli" path = "tests/cli.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "monitor" path = "tests/monitor.rs" [dependencies.clap] version = "4.5" features = [ "derive", "env", ] [dependencies.codec] version = "3.0.0" package = "parity-scale-codec" [dependencies.frame-election-provider-support] version = "38.0.0" [dependencies.frame-support] version = "38.0.0" [dependencies.futures] version = "0.3" [dependencies.hyper] version = "0.14.31" features = [ "server", "http1", "http2", "tcp", ] [dependencies.jsonrpsee] version = "0.24.7" features = ["ws-client"] [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1.20" [dependencies.pallet-election-provider-multi-phase] version = "37.0.0" [dependencies.pin-project-lite] version = "0.2" [dependencies.prometheus] version = "0.13" [dependencies.scale-info] version = "2.11.5" package = "scale-info" [dependencies.scale-value] version = "0.17" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.sp-npos-elections] version = "34.0.0" [dependencies.sp-runtime] version = "39.0.2" [dependencies.subxt] version = "0.38.0" features = ["substrate-compat"] [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.41" features = [ "macros", "rt-multi-thread", "sync", "signal", ] [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dev-dependencies.anyhow] version = "1" [dev-dependencies.assert_cmd] version = "2.0" [dev-dependencies.regex] version = "1" [dev-dependencies.sp-storage] version = "21.0.0"