derive-syn-parse
Derive macro for `syn::parse::Parse`
0.2.0
20M downloads/mo
#2076 most downloaded on crates.io
sharnoff/derive-syn-parse
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 3.0 years
Nearly every release is documented
notes for 5 of 5 stable releases
2 versions withdrawn
withdrawn after publishing
6 years old
7 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
7 releases · Oct 2020 to Mar 2024Releases
latest 7-
0.2.030 Mar 2024Release notes
Open source →Bumps
synto v2.Other changes:
- Fix expr parsing for
#[call(...)] - Add "full" feature to enable
syn's "full" feature (allows expr parsing, notably closures)
Thanks to @racharron for the help!
- Fix expr parsing for
-
0.1.520 Mar 2021Release notes
Open source →Adds
#[prefix]and#[postfix]field attributes - and improves the crate documentation :) -
0.1.404 Mar 2021Release notes
Open source →Adds conditional parsing to struct fields - both through the existing
#[peek]and#[peek_with]attributes, as well as the new#[parse_if]attribute. A new section in the README gives a brief example.To briefly elaborate on the motivation here:
A pattern that tends to come up in complex
Parseimplementations is having optional fields. Most of these conditions boil down to either (1) peeking, or (2) some expression based on what's already been parsed. I've already found that I wanted to allow this behavior in my personal use, so it's now a feature! -
0.1.308 Dec 2020Release notes
Open source →Adds
enumparsing with peeking (there's a new section in the README 😄), and general tidy-up. Notably changing the generated code to use::syneverywhere instead ofsyn; the former is always guaranteed to point to the crate. -
0.1.211 Oct 2020Release notes
Open source →After a couple of false starts, this crate is being released into the wild. This is the first "official" version. link to the reddit post
-
0.1.111 Oct 2020 withdrawnNothing published for this version
-
0.1.011 Oct 2020 withdrawnNothing published for this version