From f8ecc856b3368106e7adc47797a27e8e59e3164d Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 31 Mar 2025 09:07:58 -0600 Subject: [PATCH] Move xdg-mime patch to dependencies, remove filetime patch --- Cargo.lock | 5 +++-- Cargo.toml | 9 ++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7640633..3641340 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1975,8 +1975,9 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.24" -source = "git+https://github.com/jackpot51/filetime#186e19d3190ead16b05329400cb5b2350d8f44cf" +version = "0.2.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ "cfg-if", "libc", diff --git a/Cargo.toml b/Cargo.toml index ac3948b..a77b644 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,8 @@ 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.0" +# https://github.com/ebassi/xdg-mime-rs/pull/31 +xdg-mime = { git = "https://github.com/ellieplayswow/xdg-mime-rs", branch = "feature/get-same-as" } # Compression bzip2 = { version = "0.5", optional = true } #TODO: replace with pure Rust crate flate2 = "1.0" @@ -101,12 +102,6 @@ fastrand = "2" test-log = "0.2" tokio = { version = "1", features = ["rt", "macros"] } -[patch.crates-io] -# https://github.com/alexcrichton/filetime/pull/104 -filetime = { git = "https://github.com/jackpot51/filetime" } -# https://github.com/ebassi/xdg-mime-rs/pull/31 -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" }