feat: make tracing-journald dependency optional

Fixes #2466
This commit is contained in:
Anthony T. Lannutti 2026-06-13 16:33:51 -05:00 • committed by Victoria Brekenfeld
parent 895ce91543
commit 3d55cba06c
2 changed files with 12 additions and 3 deletions

View file

@ -62,7 +62,7 @@ tracing = { version = "0.1.44", features = [
"max_level_debug",
"release_max_level_info",
] }
tracing-journald = "0.3.2"
tracing-journald = { version = "0.3.2", optional = true }
tracing-subscriber = { version = "0.3.22", features = [
"env-filter",
"tracing-log",
@ -122,7 +122,7 @@ optional = true
debug = ["egui", "egui_plot", "smithay-egui", "anyhow/backtrace"]
default = ["systemd"]
logind = ["logind-zbus"]
systemd = ["libsystemd", "logind"]
systemd = ["libsystemd", "logind", "tracing-journald"]
profile-with-tracy = ["profiling/profile-with-tracy", "tracy-client/default"]
profile-with-tracy-gpu = ["profile-with-tracy", "smithay/tracy_gpu_profiling"]