Skip to content

Releases: dtolnay/proc-macro2

1.0.23

26 Sep 15:23
1.0.23
4e42b88

Choose a tag to compare

  • Fix several bugs involving lexing of unicode escapes and carriage returns in string literals (#256, #257, #258, #259, #260)

1.0.22

25 Sep 19:29
1.0.22
92c9551

Choose a tag to compare

  • Fix several bugs involving lexing of integer and float tokens with unusual suffixes (#252, #253, #254, #255)

1.0.21

09 Sep 19:49
1.0.21
285269e

Choose a tag to compare

1.0.20

03 Sep 20:29
1.0.20
49e8bd2

Choose a tag to compare

  • Match libproc_macro's rendering of whitespace in groups (#246, #247, thanks @Koxiaet)

1.0.19

20 Jul 00:15
1.0.19
d4e3d97

Choose a tag to compare

  • Remove procmacro2_semver_exempt feature gate on all methods stabilized in Rust 1.45 (#243)

1.0.18

31 May 17:08
1.0.18
77c846d

Choose a tag to compare

  • Fix discrepancy with libproc_macro in handling of negative numbers in token streams (#235)

1.0.17

23 May 21:54
1.0.17
124cb2e

Choose a tag to compare

  • Allow using proc_macro2::fallback::force() from 1.0.12 at the same time as proc-macro2 = { default-features = false } (#233)

1.0.16

23 May 21:28
1.0.16
a5c51b0

Choose a tag to compare

1.0.15

22 May 17:15
1.0.15
0f91e81

Choose a tag to compare

  • Support parsing arbitrarily deeply nested token streams without using excessive stack space (#231, #232)

1.0.14

21 May 23:58
1.0.14
f4c4017

Choose a tag to compare

  • Add Span::mixed_site(), which is behind cfg(procmacro2_semver_exempt) for now but will be stabilized when Rust 1.45 is released (#228, thanks @kevinmehall)
  • Update LineColumn::column to match libproc_macro's column computation, which is character-based (#229, thanks @jrvidal)