mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
be8e626806
We currently use a bit of a hack in `.cargo/config` to make sure that clippy isn't too annoying by specifying the list of lints. There is now a stable way to define lints for a workspace. The only down side is that every crate seems to have to opt into this so there's a *few* files modified in this PR. Dependencies: - [x] PR that upgrades CI to use rust 1.74 is merged. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
48 lines
1.6 KiB
TOML
48 lines
1.6 KiB
TOML
[package]
|
|
name = "polkadot-node-metrics"
|
|
description = "Subsystem metric helpers"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.2"
|
|
gum = { package = "tracing-gum", path = "../gum" }
|
|
|
|
metered = { package = "prioritized-metered-channel", version = "0.5.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 = "0.4.17"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2.0.4"
|
|
tempfile = "3.2.0"
|
|
hyper = { version = "0.14.20", default-features = false, features = ["http1", "tcp"] }
|
|
tokio = "1.24.2"
|
|
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",
|
|
]
|