Open MashPlant opened 3 years ago
Note: I cannot simply replace
[patch.crates-io]
proc-macro2 = { git = "https://github.com/dtolnay/watt" }
with
[dependencies]
proc-macro2 = { git = "https://github.com/dtolnay/watt" }
either, because I also depend on syn
and quote
, which require the patched version of proc-macro2
.
Hi Chenhao @MashPlant,
Have you tried it with https://crates.io/crates/wa-serde-derive?
Also, watt
is at https://crates.io/crates/watt now, so you can depend on it from there rather than from Github.
In my procedural macro, I need several crates that further depends on procedural macro. For example:
and in my
Cargo.toml
I have:When I compile, I get: