Files
pezkuwi-subxt/polkadot/node/metrics/Cargo.toml
T
Serban Iorga 8e95a3e1aa Align dependencies with parity-bridges-common (#3937)
Working towards migrating the `parity-bridges-common` repo inside
`polkadot-sdk`. This PR upgrades some dependencies in order to align
them with the versions used in `parity-bridges-common`

Related to
https://github.com/paritytech/parity-bridges-common/issues/2538
2024-04-02 13:41:01 +00:00

48 lines
1.6 KiB
TOML

[package]
name = "polkadot-node-metrics"
description = "Subsystem metric helpers"
version = "7.0.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../gum" }
metered = { package = "prioritized-metered-channel", version = "0.6.1", default-features = false, features = ["futures_channel"] }
# Both `sc-service` and `sc-cli` are required by runtime metrics `logger_hook()`.
sc-service = { path = "../../../substrate/client/service" }
sc-cli = { path = "../../../substrate/client/cli" }
substrate-prometheus-endpoint = { path = "../../../substrate/utils/prometheus" }
sc-tracing = { path = "../../../substrate/client/tracing" }
codec = { package = "parity-scale-codec", version = "3.6.1" }
primitives = { package = "polkadot-primitives", path = "../../primitives" }
bs58 = { version = "0.5.0", features = ["alloc"] }
log = { workspace = true, default-features = true }
[dev-dependencies]
assert_cmd = "2.0.4"
tempfile = "3.2.0"
hyper = { version = "0.14.20", default-features = false, features = ["http1", "tcp"] }
tokio = "1.37"
polkadot-test-service = { path = "../test/service", features = ["runtime-metrics"] }
substrate-test-utils = { path = "../../../substrate/test-utils" }
sc-service = { path = "../../../substrate/client/service" }
sp-keyring = { path = "../../../substrate/primitives/keyring" }
prometheus-parse = { version = "0.2.2" }
[features]
default = []
runtime-metrics = []
runtime-benchmarks = [
"polkadot-test-service/runtime-benchmarks",
"primitives/runtime-benchmarks",
"sc-service/runtime-benchmarks",
]