Cargo Features
[dependencies]
metrics-catalogue = { version = "0.4.0", default-features = false, features = ["prometheus"] }
- default = prometheus
-
The
prometheus
feature is set by default whenevermetrics-catalogue
is added without
somewhere in the dependency tree.default-features = false - prometheus default = hyper
-
Enables prometheus of metrics-catalogue-macros
Affects
metrics-catalogue::prometheus
…
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 prometheus
-
Enables hyper ^0.14
Prometheus deps