# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "minmon" version = "0.9.1" authors = ["Florian Wickert "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An opinionated minimal monitoring and alarming tool" readme = "README.md" keywords = [ "monitoring", "alarming", "uptime", ] license = "MIT OR Apache-2.0" repository = "https://github.com/flo-at/minmon" [profile.release] lto = true panic = "abort" strip = true [lib] name = "minmon" path = "src/lib.rs" [[bin]] name = "minmon" path = "src/main.rs" [dependencies.async-trait] version = "0.1" [dependencies.bollard] version = "0.17" optional = true [dependencies.chrono] version = "0.4" features = [ "std", "clock", ] default-features = false [dependencies.cron] version = "0.12" [dependencies.dasp_ring_buffer] version = "0.11" [dependencies.env_logger] version = "0.11" features = ["humantime"] default-features = false [dependencies.lettre] version = "0.11" features = [ "smtp-transport", "builder", ] optional = true default-features = false [dependencies.libsystemd] version = "0.7" optional = true [dependencies.log] version = "0.4" features = ["std"] [dependencies.nix] version = "0.29" features = ["fs"] [dependencies.num-bigint] version = "0.4" [dependencies.num-integer] version = "0.1" [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.12" optional = true default-features = false [dependencies.sensors] version = "0.2" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.systemd-journal-logger] version = "2.1" optional = true [dependencies.text_placeholder] version = "0.5" [dependencies.tokio] version = "1.39" features = ["full"] [dependencies.toml] version = "0.8" [dev-dependencies.mockall] version = "0.13" [features] __rustls = [ "lettre?/tokio1-rustls-tls", "reqwest?/rustls-tls", ] __tls = [ "lettre?/tokio1-native-tls", "reqwest?/native-tls", ] default = ["default-tls"] default-tls = ["native-tls"] docker = ["dep:bollard"] full = [ "docker", "http", "sensors", "smtp", "systemd", ] http = ["reqwest"] native-tls = ["__tls"] rustls-tls = ["__rustls"] smtp = ["lettre"] systemd = [ "dep:libsystemd", "dep:systemd-journal-logger", ]