Cargo Features
[dependencies]
tokio-metrics = { version = "0.3.1", default-features = false, features = ["rt"] }
- default = rt
-
The
rt
feature is set by default whenevertokio-metrics
is added without
somewhere in the dependency tree.default-features = false - 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.