#builder #macro #proc-macro #detail #private #generate #bon

macro bon-macros

This is a proc-macro crate that is supposed to be a private implementation detail of the bon crate

17 stable releases

new 2.3.0 Sep 14, 2024
2.2.1 Sep 9, 2024
2.0.1 Aug 28, 2024
1.2.1 Aug 12, 2024
1.0.5 Jul 31, 2024

#1312 in Procedural macros

Download history 530/week @ 2024-07-27 3249/week @ 2024-08-03 3432/week @ 2024-08-10 3554/week @ 2024-08-17 4535/week @ 2024-08-24 5734/week @ 2024-08-31 6032/week @ 2024-09-07

20,384 downloads per month
Used in 19 crates (via bon)

MIT/Apache

195KB
4K SLoC

bon-macros

This is a proc-macro crate that is supposed to be a private implementation detail of the bon crate. Don't add it to your dependencies directly! The API surface of this crate is unstable, and your code may break if you use items from bon-macros bypassing the bon crate. Instead, use the proc macros from here via the reexports in the bon crate.

Dependencies

~0.6–1MB
~24K SLoC