Cargo Features

[dependencies]
polkadot-runtime-metrics = { version = "12.0.0", default-features = false, features = ["std", "runtime-metrics"] }
default = std

The std feature is set by default whenever polkadot-runtime-metrics is added without default-features = false somewhere in the dependency tree.

std default

Enables std of bs58, optional frame-benchmarking, parity-scale-codec, polkadot-primitives, sp-std, and sp-tracing

runtime-metrics = frame-benchmarking

Enables with-tracing of sp-tracing

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

frame-benchmarking runtime-metrics?