Cargo Features

[dependencies]
banyan = { version = "0.17.1", default-features = false, features = ["metrics"] }
default = metrics

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

metrics default = lazy_static, prometheus

Affects banyan::register

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 metrics
prometheus metrics