remove mach patch

This commit is contained in:
akildemir 2024-01-08 23:32:13 +03:00 committed by Luke Parker
parent 9c06cbccad
commit 6691f16292
No known key found for this signature in database
4 changed files with 1 additions and 31 deletions

9
Cargo.lock generated
View file

@ -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",
]

View file

@ -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" }

View file

@ -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 <lukeparker5132@gmail.com>"]
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"

View file

@ -1,2 +0,0 @@
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub use mach2::*;