Cargo Features
[dependencies]
electrs2 = { version = "0.9.9", default-features = false, features = ["metrics", "metrics_process"] }
- default = metrics
-
The
metrics
feature is set by default wheneverelectrs2
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.