#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

#252 in #procedural

Download history 744/week @ 2024-07-02 825/week @ 2024-07-09 766/week @ 2024-07-16 1089/week @ 2024-07-23 796/week @ 2024-07-30 749/week @ 2024-08-06 896/week @ 2024-08-13 793/week @ 2024-08-20 1052/week @ 2024-08-27 862/week @ 2024-09-03 905/week @ 2024-09-10 1148/week @ 2024-09-17 1407/week @ 2024-09-24 1255/week @ 2024-10-01 892/week @ 2024-10-08 1078/week @ 2024-10-15

4,851 downloads per month
Used in 61 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
~20K SLoC