-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
52 lines (48 loc) · 1.71 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "minmon"
description = "An opinionated minimal monitoring and alarming tool"
version = "0.9.1"
authors = ["Florian Wickert <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/flo-at/minmon"
keywords = ["monitoring", "alarming", "uptime"]
edition = "2021"
[dependencies]
toml = "0.8"
reqwest = { version = "0.12", optional = true, default-features = false }
tokio = { version = "1.40", features = ["full"] }
libsystemd = { version = "0.7", optional = true }
systemd-journal-logger = { version = "2.1", optional = true }
serde = { version = "1.0", features = ["derive"] }
nix = { version = "0.29", features = ["fs"] }
log = { version = "0.4", features = ["std"] }
env_logger = { version = "0.11", features = ["humantime"], default-features = false }
async-trait = "0.1"
text_placeholder = "0.5"
chrono = { version = "0.4", features = ["std", "clock"], default-features = false }
lettre = { version = "0.11", features = ["smtp-transport", "builder"], default-features = false, optional = true }
sensors = { version = "0.2", optional = true }
rand = "0.8"
bollard = { version = "0.17", optional = true }
dasp_ring_buffer = "0.11"
num-bigint = "0.4"
num-integer = "0.1"
cron = "0.12"
[dev-dependencies]
mockall = "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"]
native-tls = ["__tls"]
rustls-tls = ["__rustls"]
http = ["reqwest"]
smtp = ["lettre"]
systemd = ["dep:libsystemd", "dep:systemd-journal-logger"]
docker = ["dep:bollard"]
full = ["docker", "http", "sensors", "smtp", "systemd"]
[profile.release]
strip = true
lto = true
panic = "abort"