Skip to content

Releases: dtolnay/syn

0.12.3

12 Jan 01:16
0.12.3
441a7aa
Compare
Choose a tag to compare
  • Provide ToTokens for Member without needing the "full" feature
  • Provide Copy and Clone impls for Lifetime without a feature gate
  • Fix parsing of lifetimes as generic arguments

0.12.2

12 Jan 01:15
0.12.2
3c4cbf6
Compare
Choose a tag to compare
  • Allow collecting an iterator of T into Punctuated<T, P> where P: Default

0.12.1

12 Jan 01:14
0.12.1
9a0961a
Compare
Choose a tag to compare
  • Allow indexing into a Punctuated using square brackets

0.12.0

12 Jan 01:14
0.12.0
152eb18
Compare
Choose a tag to compare
  • Rewrite to process Macros 2.0-style token streams rather than strings of source code. See the readme and release announcement.

0.11.11

20 Apr 17:16
0.11.11
2134cc2
Compare
Choose a tag to compare

0.11.10

20 Apr 17:14
0.11.10
90c07ea
Compare
Choose a tag to compare
  • Provide Ord and PartialOrd impls for Ident and Lifetime, allowing them to be used in a BTreeSet

0.11.9

06 Mar 16:47
0.11.9
5e42499
Compare
Choose a tag to compare
  • Expose syn::parse_inner_attr and syn::parse_outer_attr (#105, thanks @colin-kiegel)

0.11.8

06 Mar 16:46
0.11.8
01bb615
Compare
Choose a tag to compare
  • Parse any possible enum discriminant when using "full" feature (#98, thanks @SimonSapin)

0.11.7

06 Mar 16:44
0.11.7
f8ed9a9
Compare
Choose a tag to compare
  • Expose synom parsers for pat, block, stmt

0.11.6

19 Feb 21:10
0.11.6
2ce94ed
Compare
Choose a tag to compare
  • Drop Clippy dependency to break an import cycle of syn -> clippy -> cargo_metadata -> serde_derive -> syn causing trouble on docs.rs