Cargo Features

[dependencies]
encrypted-dns = { version = "0.9.14", default-features = false, features = ["metrics"] }
default = metrics

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

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.28

prometheus metrics

Enables prometheus-32bitfix