Releases: dtolnay/proc-macro2
Releases · dtolnay/proc-macro2
0.4.4
- Deprecate TokenStream::empty, provide equivalent TokenStream::new (rust-lang/rust#51073)
- Performance improvement for the common case of parsing ASCII identifiers (#94, thanks @nnethercote)
0.4.3
0.4.2
0.4.1
0.4.0
Track upstream proc_macro changes.
- Rename
TermtoIdent - Rename
PuncttoOp - Remove
Term::as_str - Rename
Op::optoPunct::as_char Term::newno longer accepts lifetimes or raw idents- Lifetimes are lexed as a
Joint'character followed by anIdent Ident::new_rawis a newprocmacro2_semver_exemptAPI for creating raw
identifiers.{Eq,PartialEq,Ord,PartialOrd,Hash} for Ident- Remove
Copy for Term - Remove
Copy for Op - Add
Extend<TokenTree> for TokenStream