Cargo Features
[dependencies]
iroh-metrics = { version = "0.30.0", default-features = false, features = ["metrics"] }
- default = metrics
-
The
metrics
feature is set by default wheneveriroh-metrics
is added without
somewhere in the dependency tree.default-features = false - metrics default = prometheus-client
-
Affects
core::Counter.counter
,core::Metric.new
,core::Metric.with_metric
,metrics::start_metrics_server
,metrics::start_metrics_dumper
,metrics::start_metrics_exporter
…
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.