Cargo Features

[dependencies]
tokio-metrics = { version = "0.3.1", default-features = false, features = ["rt"] }
default = rt

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

rt default = tokio

Affects runtime::RuntimeMonitor, runtime::RuntimeMetrics

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.

tokio rt