Cargo Features
[dependencies]
tower-http-metrics = { version = "0.0.4", default-features = false, features = ["server", "util"] }
- default = server, util
-
These default features are set whenever
tower-http-metrics
is added without
somewhere in the dependency tree.default-features = false - server default
-
Affects
tower-http-metrics::server
,util::HttpMetricsServiceBuilderExt.http_server_metrics
… - util default = tower
-
Affects
tower-http-metrics::util
…
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.
- tower util
-
Enables tower ^0.4
Affects
util::HttpMetricsServiceBuilderExt
…