Releases: dtolnay/proc-macro2
Releases · dtolnay/proc-macro2
1.0.44
- Expose
span.before()
and span.after()
to access an empty Span
located immediately before or after the input span (#348, upstream tracking issue: rust-lang/rust#87552)
1.0.43
- Add keywords to crates.io metadata
1.0.42
- Improve parsing performance in non-macro mode (#335)
- Expose a size_hint() for TokenStream's iterator (#334)
1.0.41
- Produce an accurate
.size_hint()
from TokenStream
's iterator (#334)
1.0.40
- Stabilize
Ident::new_raw
constructor (#331, thanks @mystor)
1.0.38
- Reduce allocations done by
Literal::byte_string
constructor (#328)
1.0.37
- Rely on unicode-xid to optimize ASCII properly (#325)
1.0.36
- Improve performance of creating literal tokens through
quote!
macro
1.0.35
- Try to diagnose "cannot find type SourceFile" errors better (#311)