notify: make the mail-forwarder feature depend on proxmox-sys

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>
This commit is contained in:
Lukas Wagner 2024-04-19 16:17:08 +02:00 committed by Thomas Lamprecht
parent 50d80328e5
commit 2f40b79f8f

View File

@ -31,7 +31,7 @@ proxmox-time.workspace = true
[features] [features]
default = ["sendmail", "gotify", "smtp"] default = ["sendmail", "gotify", "smtp"]
mail-forwarder = ["dep:mail-parser"] mail-forwarder = ["dep:mail-parser", "dep:proxmox-sys"]
sendmail = ["dep:proxmox-sys"] sendmail = ["dep:proxmox-sys"]
gotify = ["dep:proxmox-http"] gotify = ["dep:proxmox-http"]
pve-context = ["dep:proxmox-sys"] pve-context = ["dep:proxmox-sys"]