Add mounter abstraction, enable minimal GVfs support

This commit is contained in:
Jeremy Soller 2024-04-22 09:54:00 -06:00
parent 8913c4198b
commit 02b6cda872
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
8 changed files with 254 additions and 19 deletions

View file

@ -15,6 +15,7 @@ dirs = "5.0.1"
env_logger = "0.11"
freedesktop_entry_parser = { version = "1.3", optional = true }
fs_extra = "1.3"
gio = { version = "0.19", optional = true }
image = "0.24"
once_cell = "1.19"
open = "5.0.2"
@ -49,8 +50,9 @@ version = "0.2.1"
features = ["serde"]
[features]
default = ["desktop", "wgpu"]
default = ["desktop", "gvfs", "wgpu"]
desktop = ["libcosmic/desktop", "dep:freedesktop_entry_parser", "dep:xdg"]
gvfs = ["dep:gio"]
wgpu = ["libcosmic/wgpu"]
[profile.dev]