Fix compilation without desktop feature

This commit is contained in:
Jeremy Soller 2024-09-11 14:40:49 -06:00
parent c8eb2b3024
commit 329c0d3d4e
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -13,7 +13,7 @@ vergen = { version = "8", features = ["git", "gitcl"] }
chrono = { version = "0.4", features = ["unstable-locales"] }
dirs = "5.0.1"
env_logger = "0.11"
freedesktop_entry_parser = { version = "1.3", optional = true }
freedesktop_entry_parser = "1.3"
flate2 = "1.0"
fs_extra = { git = "https://github.com/pop-os/fs_extra.git" }
gio = { version = "0.20", optional = true }
@ -67,7 +67,7 @@ features = ["serde"]
[features]
default = ["desktop", "gvfs", "notify", "winit", "wgpu"]
desktop = ["libcosmic/desktop", "dep:freedesktop_entry_parser", "dep:xdg"]
desktop = ["libcosmic/desktop", "dep:xdg"]
gvfs = ["dep:gio", "dep:glib"]
notify = ["dep:notify-rust"]
wayland = ["libcosmic/wayland", "dep:wayland-client"]