Partial open with implementation, parse mimeapps.list files

This commit is contained in:
Jeremy Soller 2024-03-01 16:10:30 -07:00
parent 18e847abb8
commit 26173d6529
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
11 changed files with 357 additions and 147 deletions

View file

@ -13,6 +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 }
image = "0.24"
once_cell = "1.19"
open = "5.0.2"
@ -24,6 +25,7 @@ paste = "1.0"
serde = { version = "1", features = ["serde_derive"] }
tokio = { version = "1" }
trash = "3.2.0"
xdg = { version = "2.5.2", optional = true }
# Internationalization
i18n-embed = { version = "0.14", features = [
"fluent-system",
@ -46,8 +48,8 @@ features = ["serde"]
git = "https://github.com/jackpot51/systemicons"
[features]
default = ["xdg", "wgpu"]
xdg = ["libcosmic/desktop"]
default = ["desktop", "wgpu"]
desktop = ["libcosmic/desktop", "dep:freedesktop_entry_parser", "dep:xdg"]
wgpu = ["libcosmic/wgpu"]
[profile.release-with-debug]