From 2f40b79f8fc30f099b3192980f6ba2fd705ebd9c Mon Sep 17 00:00:00 2001 From: Lukas Wagner Date: Fri, 19 Apr 2024 16:17:08 +0200 Subject: [PATCH] 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 Tested-by: Folke Gleumes Reviewed-by: Fiona Ebner --- proxmox-notify/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-notify/Cargo.toml b/proxmox-notify/Cargo.toml index 52a466e2..3e8d253e 100644 --- a/proxmox-notify/Cargo.toml +++ b/proxmox-notify/Cargo.toml @@ -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"]