Cargo Features

metrics-fn has no features set by default.

[dependencies]
metrics-fn = { version = "0.1.1", features = ["record-log", "record-prometheus"] }
record-log = log

Affects log::record

record-prometheus = lazy_static, prometheus

Affects prometheus::record

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.

lazy_static record-prometheus?
log record-log?
prometheus record-prometheus?