chore: put systemd-homed extra support behind 'systemd' feature

This commit is contained in:
Nara Díaz Viñolas 2026-05-22 10:11:44 +02:00 • committed by Michael Murphy
parent 8ff96e94f7
commit b9587deadb
3 changed files with 26 additions and 10 deletions

View file

@ -28,8 +28,8 @@ whitespace-conf = "1"
#TODO: reduce features
tokio = { workspace = true, features = ["full"] }
xdg = "3.0"
zbus_systemd = { version = "0.26000.0", features = ["home1"] }
zbus_systemd = { version = "0.26000.0", features = ["home1"], optional = true }
[features]
default = ["systemd"]
systemd = ["tracing-journald"]
systemd = ["tracing-journald", "zbus_systemd"]