feat: add systemd notify with feature

This commit is contained in:
Michael Yang 2024-07-06 17:24:33 +10:00 committed by Shawn Wallace
parent d32eae139d
commit d8bfa0a1a3
3 changed files with 16 additions and 0 deletions

View file

@ -34,6 +34,12 @@ slotmap = "1.0.7"
xcb-util-cursor = "0.3.2"
smithay-client-toolkit = { version = "0.19.1", default-features = false }
sd-notify = { version = "0.4.2", optional = true }
[features]
default = []
systemd = ["dep:sd-notify"]
[dev-dependencies]
rustix = { workspace = true, features = ["fs"] }
testwl = { path = "testwl" }