Patch matches, mach

This commit is contained in:
Luke Parker
2023-12-15 15:10:54 -05:00
parent 9f7140c3db
commit 890b70212a
6 changed files with 49 additions and 4 deletions

17
patches/mach/Cargo.toml Normal file
View File

@@ -0,0 +1,17 @@
[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"]
[dependencies]
mach2 = "0.4"

1
patches/mach/src/lib.rs Normal file
View File

@@ -0,0 +1 @@
pub use mach2::*;

View File

@@ -0,0 +1,14 @@
[package]
name = "matches"
version = "0.1.10"
description = "Replacement for the matches polyfill which uses the std impl"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/patches/matches"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
keywords = []
edition = "2021"
rust-version = "1.56"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

View File

@@ -0,0 +1 @@
pub use std::matches;