Skip to content

Releases: dtolnay/proc-macro2

0.4.6

04 Jun 08:05
0.4.6
b761e47
Compare
Choose a tag to compare
  • Include semver exempt APIs on docs.rs (#81, #82)

0.4.5

02 Jun 22:55
0.4.5
3585629
Compare
Choose a tag to compare
  • Fix Display impl for Group (#98, thanks @hcpl)
  • Simplify Debug representation of Ident

0.4.4

29 May 03:16
0.4.4
8d71928
Compare
Choose a tag to compare
  • 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

21 May 02:34
0.4.3
f8d09b4
Compare
Choose a tag to compare
  • Documentation improvements

0.4.2

19 May 03:57
0.4.2
2c8e917
Compare
Choose a tag to compare
Version 0.4.2

0.4.1

17 May 18:04
Compare
Choose a tag to compare
Bump to 0.4.1

0.4.0

17 May 17:02
ca3dcad
Compare
Choose a tag to compare

Track upstream proc_macro changes.

  • Rename Term to Ident
  • Rename Punct to Op
  • Remove Term::as_str
  • Rename Op::op to Punct::as_char
  • Term::new no longer accepts lifetimes or raw idents
  • Lifetimes are lexed as a Joint ' character followed by an Ident
  • Ident::new_raw is a new procmacro2_semver_exempt API for creating raw
    identifiers.
  • {Eq,PartialEq,Ord,PartialOrd,Hash} for Ident
  • Remove Copy for Term
  • Remove Copy for Op
  • Add Extend<TokenTree> for TokenStream

0.3.8

17 May 17:01
Compare
Choose a tag to compare
Bump to 0.3.8

0.3.7

24 Apr 02:19
0.3.7
2c1dac5
Compare
Choose a tag to compare
Version 0.3.7

0.3.6

07 Apr 16:50
0.3.6
1143735
Compare
Choose a tag to compare
Version 0.3.6