PackageTrack
Sign in Get early access

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 2024
2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 7
  1. 0.2.0 30 Mar 2024
    Release notes

    Bumps syn to 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!

    Open source →
  2. 0.1.5 20 Mar 2021
    Release notes

    Adds #[prefix] and #[postfix] field attributes - and improves the crate documentation :)

    Open source →
  3. 0.1.4 04 Mar 2021
    Release notes

    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 Parse implementations 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!

    Open source →
  4. 0.1.3 08 Dec 2020
    Release notes

    Adds enum parsing with peeking (there's a new section in the README 😄), and general tidy-up. Notably changing the generated code to use ::syn everywhere instead of syn; the former is always guaranteed to point to the crate.

    Open source →
  5. 0.1.2 11 Oct 2020
    Release notes

    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

    Open source →
  6. 0.1.1 11 Oct 2020 withdrawn

    Nothing published for this version

  7. 0.1.0 11 Oct 2020 withdrawn

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive