[package] name = "polkadot-runtime-metrics" version = "17.0.0" authors.workspace = true edition.workspace = true license.workspace = true description = "Runtime metric interface for the Polkadot node" [lints] workspace = true [dependencies] sp-tracing.workspace = true codec = { workspace = true } polkadot-primitives.workspace = true frame-benchmarking = { optional = true, workspace = true } bs58 = { features = ["alloc"], workspace = true } [features] default = ["std"] std = [ "bs58/std", "codec/std", "frame-benchmarking?/std", "polkadot-primitives/std", "sp-tracing/std", ] runtime-metrics = ["frame-benchmarking", "sp-tracing/with-tracing"]