#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

#2338 in Procedural macros

Download history 953/week @ 2024-07-19 1000/week @ 2024-07-26 690/week @ 2024-08-02 821/week @ 2024-08-09 856/week @ 2024-08-16 922/week @ 2024-08-23 962/week @ 2024-08-30 931/week @ 2024-09-06 909/week @ 2024-09-13 1325/week @ 2024-09-20 1264/week @ 2024-09-27 1162/week @ 2024-10-04 976/week @ 2024-10-11 1249/week @ 2024-10-18 893/week @ 2024-10-25 826/week @ 2024-11-01

4,078 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

~335–780KB
~18K SLoC