diff --git a/Cargo.lock b/Cargo.lock index 144cf0418..42608f5ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4014,15 +4014,8 @@ dependencies = [ [[package]] name = "mach" version = "0.3.2" -dependencies = [ - "mach2", -] - -[[package]] -name = "mach2" -version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" dependencies = [ "libc", ] diff --git a/Cargo.toml b/Cargo.toml index 8bd7bec54..cfdf13ebd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,6 @@ members = [ "patches/matches", "patches/option-ext", "patches/directories-next", - "patches/mach", "patches/proc-macro-crate", ] @@ -116,9 +115,6 @@ matches = { path = "patches/matches" } option-ext = { path = "patches/option-ext" } directories-next = { path = "patches/directories-next" } -# mach is unmaintained, so this wraps mach2 as mach -mach = { path = "patches/mach" } - # proc-macro-crate 2 binds to an old version of toml for msrv so we patch to 3 proc-macro-crate = { path = "patches/proc-macro-crate" } diff --git a/patches/mach/Cargo.toml b/patches/mach/Cargo.toml deleted file mode 100644 index bf2da1ff1..000000000 --- a/patches/mach/Cargo.toml +++ /dev/null @@ -1,17 +0,0 @@ -[package] -name = "mach" -version = "0.3.2" -description = "Replacement for mach which uses the mach2 implementation" -license = "MIT" -repository = "https://github.com/serai-dex/serai/tree/develop/patches/mach" -authors = ["Luke Parker "] -keywords = [] -edition = "2021" -rust-version = "1.56" - -[package.metadata.docs.rs] -all-features = true -rustdoc-args = ["--cfg", "docsrs"] - -[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] -mach2 = "0.4" diff --git a/patches/mach/src/lib.rs b/patches/mach/src/lib.rs deleted file mode 100644 index e7e1a5a22..000000000 --- a/patches/mach/src/lib.rs +++ /dev/null @@ -1,2 +0,0 @@ -#[cfg(any(target_os = "macos", target_os = "ios"))] -pub use mach2::*;