Use shared-mime-info for mime detection
This commit is contained in:
parent
ac4626d9cf
commit
672821a5fc
4 changed files with 169 additions and 805 deletions
|
|
@ -28,6 +28,7 @@ shlex = { version = "1.3" }
|
|||
tokio = { version = "1" }
|
||||
trash = "3.2.0"
|
||||
xdg = { version = "2.5.2", optional = true }
|
||||
xdg-mime = "0.3"
|
||||
# Internationalization
|
||||
i18n-embed = { version = "0.14", features = [
|
||||
"fluent-system",
|
||||
|
|
@ -45,10 +46,6 @@ features = ["multi-window", "tokio", "winit"]
|
|||
version = "0.2.1"
|
||||
features = ["serde"]
|
||||
|
||||
#TODO: clean up and send changes upstream
|
||||
[dependencies.systemicons]
|
||||
git = "https://github.com/jackpot51/systemicons"
|
||||
|
||||
[features]
|
||||
default = ["desktop", "wgpu"]
|
||||
desktop = ["libcosmic/desktop", "dep:freedesktop_entry_parser", "dep:xdg"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue