]> git.proxmox.com Git - proxmox.git/commitdiff
notify: make the `mail-forwarder` feature depend on proxmox-sys
authorLukas Wagner <l.wagner@proxmox.com>
Fri, 19 Apr 2024 14:17:08 +0000 (16:17 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 21:06:52 +0000 (23:06 +0200)
It uses proxmox_sys::nodename - the dep is needed, otherwise the code
does not compile in some feature flag permutations.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Folke Gleumes <f.gleumes@proxmox.com>
Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
proxmox-notify/Cargo.toml

index 52a466e2359f8cf38a87a2de7a123a679095bb8a..3e8d253ea85c611a907f6d184a8e12840a6a6595 100644 (file)
@@ -31,7 +31,7 @@ proxmox-time.workspace = true
 
 [features]
 default = ["sendmail", "gotify", "smtp"]
-mail-forwarder = ["dep:mail-parser"]
+mail-forwarder = ["dep:mail-parser", "dep:proxmox-sys"]
 sendmail = ["dep:proxmox-sys"]
 gotify = ["dep:proxmox-http"]
 pve-context = ["dep:proxmox-sys"]