Cargo Features

[dependencies]
metrics-runtime = { version = "0.13.1", default-features = false, features = ["exporters", "observers"] }
default = exporters, observers

These default features are set whenever metrics-runtime is added without default-features = false somewhere in the dependency tree.

exporters default = metrics-exporter-http, metrics-exporter-log
observers default = metrics-observer-json, metrics-observer-prometheus, metrics-observer-yaml

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.

metrics-exporter-log exporters

Affects metrics-runtime::exporters

metrics-exporter-http exporters

Affects metrics-runtime::exporters

metrics-observer-yaml observers

Affects metrics-runtime::observers

metrics-observer-prometheus observers

Affects metrics-runtime::observers

metrics-observer-json observers

Affects metrics-runtime::observers