Skip to content

Commit

Permalink
Patch proc-macro-crate 2 to proc-macro-crate 3
Browse files Browse the repository at this point in the history
Updates toml_edit to 0.21.
  • Loading branch information
kayabaNerve committed Jan 6, 2024
1 parent 3c5a82e commit 1cff9b4
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 8 deletions.
23 changes: 15 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ members = [
"patches/option-ext",
"patches/directories-next",
"patches/mach",
"patches/proc-macro-crate",
]

# Always compile Monero (and a variety of dependencies) with optimizations due
Expand Down Expand Up @@ -118,6 +119,9 @@ 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" }

[workspace.lints.clippy]
unwrap_or_default = "allow"
borrow_as_ptr = "deny"
Expand Down
17 changes: 17 additions & 0 deletions patches/proc-macro-crate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "proc-macro-crate"
version = "2.0.1"
description = "Patches proc-macro-crate 2 to 3"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/patches/proc-macro-crate"
authors = ["Luke Parker <[email protected]>"]
keywords = []
edition = "2021"
rust-version = "1.66"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
proc-macro-crate = "3"
1 change: 1 addition & 0 deletions patches/proc-macro-crate/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub use proc_macro_crate::*;

0 comments on commit 1cff9b4

Please sign in to comment.