A substitute implementation of the compiler's proc_macro API to decouple token-based libraries from the procedural macro use case.
# Cargo.toml
[dependencies]
proc-macro2 = "1.0.106"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parse a string into a TokenStream.
Use From/Into traits or the proc_macro2::TokenStream::from() method to convert.
No dependency data recorded yet.