mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
e80c24733f
Changes (partial https://github.com/paritytech/polkadot-sdk/issues/994): - Set log to `0.4.20` everywhere - Lift `log` to the workspace Starting with a simpler one after seeing https://github.com/paritytech/polkadot-sdk/pull/2065 from @jsdw. This sets the `default-features` to `false` in the root and then overwrites that in each create to its original value. This is necessary since otherwise the `default` features are additive and its impossible to disable them in the crate again once they are enabled in the workspace. I am using a tool to do this, so its mostly a test to see that it works as expected. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
87 lines
3.6 KiB
TOML
87 lines
3.6 KiB
TOML
[package]
|
|
name = "polkadot-subsystem-bench"
|
|
description = "Subsystem performance benchmark client"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "subsystem-bench"
|
|
path = "src/subsystem-bench.rs"
|
|
|
|
# Prevent rustdoc error. Already documented from top-level Cargo.toml.
|
|
doc = false
|
|
|
|
[dependencies]
|
|
polkadot-node-subsystem = { path = "../subsystem" }
|
|
polkadot-node-subsystem-util = { path = "../subsystem-util" }
|
|
polkadot-node-subsystem-types = { path = "../subsystem-types" }
|
|
polkadot-node-primitives = { path = "../primitives" }
|
|
polkadot-primitives = { path = "../../primitives" }
|
|
polkadot-node-network-protocol = { path = "../network/protocol" }
|
|
polkadot-availability-recovery = { path = "../network/availability-recovery", features = ["subsystem-benchmarks"] }
|
|
polkadot-availability-distribution = { path = "../network/availability-distribution" }
|
|
polkadot-node-core-av-store = { path = "../core/av-store" }
|
|
polkadot-node-core-chain-api = { path = "../core/chain-api" }
|
|
polkadot-availability-bitfield-distribution = { path = "../network/bitfield-distribution" }
|
|
color-eyre = { version = "0.6.1", default-features = false }
|
|
polkadot-overseer = { path = "../overseer" }
|
|
colored = "2.0.4"
|
|
assert_matches = "1.5"
|
|
async-trait = "0.1.57"
|
|
sp-keystore = { path = "../../../substrate/primitives/keystore" }
|
|
sc-keystore = { path = "../../../substrate/client/keystore" }
|
|
sp-core = { path = "../../../substrate/primitives/core" }
|
|
clap = { version = "4.4.18", features = ["derive"] }
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.2"
|
|
bincode = "1.3.3"
|
|
sha1 = "0.10.6"
|
|
hex = "0.4.3"
|
|
gum = { package = "tracing-gum", path = "../gum" }
|
|
polkadot-erasure-coding = { package = "polkadot-erasure-coding", path = "../../erasure-coding" }
|
|
log = { workspace = true, default-features = true }
|
|
env_logger = "0.9.0"
|
|
rand = "0.8.5"
|
|
# `rand` only supports uniform distribution, we need normal distribution for latency.
|
|
rand_distr = "0.4.3"
|
|
bitvec = "1.0.1"
|
|
kvdb-memorydb = "0.13.0"
|
|
|
|
parity-scale-codec = { version = "3.6.1", features = ["derive", "std"] }
|
|
tokio = "1.24.2"
|
|
clap-num = "1.0.2"
|
|
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
|
|
sp-keyring = { path = "../../../substrate/primitives/keyring" }
|
|
sp-application-crypto = { path = "../../../substrate/primitives/application-crypto" }
|
|
sc-network = { path = "../../../substrate/client/network" }
|
|
sc-service = { path = "../../../substrate/client/service" }
|
|
sp-consensus = { path = "../../../substrate/primitives/consensus/common" }
|
|
polkadot-node-metrics = { path = "../metrics" }
|
|
itertools = "0.11.0"
|
|
polkadot-primitives-test-helpers = { path = "../../primitives/test-helpers" }
|
|
prometheus_endpoint = { package = "substrate-prometheus-endpoint", path = "../../../substrate/utils/prometheus" }
|
|
prometheus = { version = "0.13.0", default-features = false }
|
|
serde = "1.0.195"
|
|
serde_yaml = "0.9"
|
|
|
|
polkadot-node-core-approval-voting = { path = "../core/approval-voting" }
|
|
polkadot-approval-distribution = { path = "../network/approval-distribution" }
|
|
sp-consensus-babe = { path = "../../../substrate/primitives/consensus/babe" }
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false }
|
|
sp-timestamp = { path = "../../../substrate/primitives/timestamp" }
|
|
|
|
schnorrkel = { version = "0.9.1", default-features = false }
|
|
rand_core = "0.6.2" # should match schnorrkel
|
|
rand_chacha = { version = "0.3.1" }
|
|
paste = "1.0.14"
|
|
orchestra = { version = "0.3.5", default-features = false, features = ["futures_channel"] }
|
|
pyroscope = "0.5.7"
|
|
pyroscope_pprofrs = "0.2.7"
|
|
|
|
[features]
|
|
default = []
|