]> git.proxmox.com Git - proxmox.git/blame - proxmox-notify/Cargo.toml
notify: use std::sync::OnceCell instead of lazy_static!
[proxmox.git] / proxmox-notify / Cargo.toml
CommitLineData
b8040a23
LW
1[package]
2name = "proxmox-notify"
e32081ea 3version = "0.3.3"
b8040a23
LW
4authors.workspace = true
5edition.workspace = true
6license.workspace = true
7repository.workspace = true
8exclude.workspace = true
9
10[dependencies]
b421a7ca 11anyhow.workspace = true
6f1d439f 12const_format.workspace = true
48657113 13handlebars = { workspace = true }
53627a19 14lettre = { workspace = true, optional = true }
2726e68a 15log.workspace = true
5f7ac875 16mail-parser = { workspace = true, optional = true }
2726e68a 17openssl.workspace = true
686453a2 18regex.workspace = true
efb57638 19serde = { workspace = true, features = ["derive"] }
686453a2
WB
20serde_json.workspace = true
21
990fc8ef 22proxmox-http = { workspace = true, features = ["client-sync"], optional = true }
1a75668d 23proxmox-http-error.workspace = true
48657113 24proxmox-human-byte.workspace = true
efb57638 25proxmox-schema = { workspace = true, features = ["api-macro", "api-types"] }
2726e68a 26proxmox-section-config = { workspace = true }
686453a2 27proxmox-serde.workspace = true
7c427526 28proxmox-sys = { workspace = true, optional = true }
48657113 29proxmox-time.workspace = true
e83269be 30proxmox-uuid = { workspace = true, features = ["serde"] }
7c427526
LW
31
32[features]
53627a19 33default = ["sendmail", "gotify", "smtp"]
2f40b79f 34mail-forwarder = ["dep:mail-parser", "dep:proxmox-sys"]
48657113 35sendmail = ["dep:proxmox-sys"]
990fc8ef 36gotify = ["dep:proxmox-http"]
c1a3505e
LW
37pve-context = ["dep:proxmox-sys"]
38pbs-context = ["dep:proxmox-sys"]
53627a19 39smtp = ["dep:lettre"]