crates.io
proc-macro2
A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.
v1.0.107View on crates.io ↗
Security
No known vulnerabilities in the OSV database as of the last sync.
Repository
https://github.com/dtolnay/proc-macro2 ↗Sourced from crates.io · Updated September 6, 2026
Package metadata from crates.io, the Rust community's crate registry.
View original source ↗Spot an error on this page? Let us know →FAQ
Common questions
What is proc-macro2?
A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.
Is proc-macro2 safe to use?
No known vulnerabilities in the OSV database as of the last sync.
What license does proc-macro2 use?
proc-macro2 does not specify a license.