#attributes #proc-macro #parser #deluxe #helper #procedural #traits

deluxe-core

Core traits and helpers for Deluxe procedural macro attribute parser

10 releases (4 breaking)

0.5.0 Mar 28, 2023
0.4.3 Feb 21, 2023
0.3.2 Feb 7, 2023
0.2.0 Feb 3, 2023
0.1.0 Jan 13, 2023

#2180 in Procedural macros

Download history 813/week @ 2024-05-22 706/week @ 2024-05-29 723/week @ 2024-06-05 688/week @ 2024-06-12 945/week @ 2024-06-19 813/week @ 2024-06-26 765/week @ 2024-07-03 820/week @ 2024-07-10 980/week @ 2024-07-17 909/week @ 2024-07-24 744/week @ 2024-07-31 797/week @ 2024-08-07 897/week @ 2024-08-14 847/week @ 2024-08-21 954/week @ 2024-08-28 745/week @ 2024-09-04

3,589 downloads per month
Used in 53 crates (2 directly)

MIT license

185KB
4K SLoC

Deluxe Core

Core functions and traits shared between deluxe and deluxe_macros.

This crate is used by deluxe_macros to parse its own attributes. Code generated by its derive macros also references items from this crate re-exported into deluxe. The functions in parse_helpers are used internally by the derive macros, but can also be used for convenience when manually implementing any of the parsing traits.

See the documentation for the deluxe crate for a high-level overview of how Deluxe works.

Dependencies

~0.4–0.8MB
~19K SLoC