Releases: dtolnay/syn
Releases · dtolnay/syn
0.12.5
Add From<Span> for all tokens (#279 , thanks @kdy1 )
0.12.4
Expose Parser
trait as a way to invoke parser functions
Allow parse_quote!
macro to parse more syntax tree types
Add Punctuated::insert
method
Print generic parameters and generic arguments in the right order regardless of how they are ordered in the syntax tree
0.12.3
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
Allow collecting an iterator of T
into Punctuated<T, P>
where P: Default
0.12.1
Allow indexing into a Punctuated
using square brackets
0.12.0
Rewrite to process Macros 2.0-style token streams rather than strings of source code. See the readme and release announcement .
0.11.10
Provide Ord
and PartialOrd
impls for Ident
and Lifetime
, allowing them to be used in a BTreeSet
0.11.8
Parse any possible enum discriminant when using "full" feature (#98 , thanks @SimonSapin )
You can’t perform that action at this time.