Cargo Features
[dependencies]
mount_status_monitor = { version = "2.1.5", default-features = false, features = ["with_prometheus"] }
- default = with_prometheus
-
The
with_prometheus
feature is set by default whenevermount_status_monitor
is added without
somewhere in the dependency tree.default-features = false - with_prometheus default = hostname, lazy_static, 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.