Fix compilation with wayland feature

This commit is contained in:
Jeremy Soller 2024-10-21 14:23:32 -06:00
parent cf41bfcc6a
commit 85a483f638
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
3 changed files with 32 additions and 33 deletions

View file

@ -63,19 +63,18 @@ uzers = "0.12.0"
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
default-features = false
features = ["a11y", "multi-window", "tokio"]
features = ["a11y", "multi-window", "tokio", "winit"]
[dependencies.smol_str]
version = "0.2.1"
features = ["serde"]
[features]
default = ["bzip2", "desktop", "gvfs", "liblzma", "notify", "winit", "wgpu"]
default = ["bzip2", "desktop", "gvfs", "liblzma", "notify", "wgpu"]
desktop = ["libcosmic/desktop", "dep:xdg"]
gvfs = ["dep:gio", "dep:glib"]
notify = ["dep:notify-rust"]
wayland = ["libcosmic/wayland", "dep:wayland-client"]
winit = ["libcosmic/winit"]
wgpu = ["libcosmic/wgpu"]
[profile.dev]