Make notify support optional, update libcosmic
This commit is contained in:
parent
80783f6cd1
commit
f51e4f5016
3 changed files with 149 additions and 123 deletions
|
|
@ -25,7 +25,7 @@ libc = "0.2"
|
|||
log = "0.4"
|
||||
mime_guess = "2"
|
||||
notify-debouncer-full = "0.3"
|
||||
notify-rust = "4"
|
||||
notify-rust = { version = "4", optional = true }
|
||||
once_cell = "1.19"
|
||||
open = "5.0.2"
|
||||
paste = "1.0"
|
||||
|
|
@ -59,9 +59,10 @@ version = "0.2.1"
|
|||
features = ["serde"]
|
||||
|
||||
[features]
|
||||
default = ["desktop", "gvfs", "winit", "wgpu"]
|
||||
default = ["desktop", "gvfs", "notify", "winit", "wgpu"]
|
||||
desktop = ["libcosmic/desktop", "dep:freedesktop_entry_parser", "dep:xdg"]
|
||||
gvfs = ["dep:gio"]
|
||||
notify = ["dep:notify-rust"]
|
||||
wayland = ["libcosmic/wayland"]
|
||||
winit = ["libcosmic/winit"]
|
||||
wgpu = ["libcosmic/wgpu"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue