Cargo Features
[dependencies]
polkadot-runtime-metrics = { version = "17.0.0", default-features = false, features = ["std", "runtime-metrics"] }
- default = std
-
The
std
feature is set by default wheneverpolkadot-runtime-metrics
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of bs58, parity-scale-codec, optional frame-benchmarking, polkadot-primitives, 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.