Cargo Features
[dependencies]
minmon = { version = "0.9.1", default-features = false, features = ["full", "default-tls", "native-tls", "rustls-tls", "http", "smtp", "systemd", "docker"] }
- default = default-tls
-
The
default-tls
feature is set by default wheneverminmon
is added without
somewhere in the dependency tree.default-features = false - full = docker, http, sensors, smtp, systemd
- default-tls default = native-tls
- native-tls default-tls
-
Enables tokio1-native-tls of optional lettre and native-tls of optional reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- rustls-tls
-
Enables tokio1-rustls-tls of optional lettre, rustls-tls of optional reqwest
- http full? = reqwest
-
Affects
config::ActionWebhook
,config::HttpMethod
… - smtp full? = lettre
-
Affects
config::ActionEmail
,config::SmtpSecurity
… - systemd full?
-
Enables libsystemd and systemd-journal-logger
- docker full?
-
Enables bollard ^0.17
Affects
config::CheckDockerContainerStatus
…
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.
- reqwest http? native-tls? rustls-tls?
- lettre native-tls? rustls-tls? smtp?
- sensors full?
-
Affects
config::CheckTemperature
,config::AlarmTemperature
…