Cargo Features
[dependencies]
encrypted-dns = { version = "0.9.17", default-features = false, features = ["metrics"] }
- default = metrics
-
The
metrics
feature is set by default wheneverencrypted-dns
is added without
somewhere in the dependency tree.default-features = false - metrics default = hyper, prometheus
-
Affects
config::MetricsConfig
,config::Config.metrics
,globals::Globals.varz
…
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.
- hyper metrics
-
Enables hyper ^0.14.31
- prometheus metrics