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 whenever mount_status_monitor is added without default-features = false somewhere in the dependency tree.

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.

lazy_static with_prometheus
hostname with_prometheus

Enables hostname ^0.3.1

prometheus with_prometheus

Enables prometheus ^0.8.0