Cargo Features

[dependencies]
metrics-catalogue = { version = "0.4.0", default-features = false, features = ["prometheus"] }
default = prometheus

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

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