simplifying list generation for mime types, applying xdg-mime patch & cargo fmt

This commit is contained in:
ellieplayswow 2025-03-09 21:03:42 +00:00
parent e3226d8dc2
commit b288cd0581
4 changed files with 41 additions and 90 deletions

View file

@ -41,7 +41,7 @@ url = "2.5"
walkdir = "2.5.0"
wayland-client = { version = "0.31.8", optional = true }
xdg = { version = "2.5.2", optional = true }
xdg-mime = "0.4"
xdg-mime = "0.4.0"
# Compression
bzip2 = { version = "0.5", optional = true } #TODO: replace with pure Rust crate
flate2 = "1.0"
@ -96,6 +96,7 @@ tokio = { version = "1", features = ["rt", "macros"] }
[patch.crates-io]
# https://github.com/alexcrichton/filetime/pull/104
filetime = { git = "https://github.com/jackpot51/filetime" }
xdg-mime = { git = "https://github.com/ellieplayswow/xdg-mime-rs", branch = "feature/get-same-as" }
# [patch.'https://github.com/pop-os/cosmic-text']
# cosmic-text = { path = "../cosmic-text" }