A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.
cargo add proc-macro2
[dependencies]
proc-macro2 = "1.0.106"
| 仓库 | https://github.com/dtolnay/proc-macro2 |
|---|---|
| 文档 | https://docs.rs/proc-macro2 |
| 最新版本 | 1.0.106 |
| 分类 | development-tools::procedural-macro-helpers |