Cargo Features
[dependencies]
electrs = { version = "0.10.7", default-features = false, features = ["metrics", "metrics_process"] }
- default = metrics
-
The
metrics
feature is set by default wheneverelectrs
is added without
somewhere in the dependency tree.default-features = false - metrics default = prometheus, tiny_http
- metrics_process
-
Enables process of 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.