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

macro bon-macros

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

24 stable releases

3.3.0 Dec 7, 2024
3.2.0 Dec 1, 2024
3.1.1 Nov 27, 2024
2.3.0 Sep 14, 2024
1.0.5 Jul 31, 2024

#1205 in Procedural macros

Download history 4885/week @ 2024-08-27 6372/week @ 2024-09-03 8048/week @ 2024-09-10 8087/week @ 2024-09-17 9380/week @ 2024-09-24 9478/week @ 2024-10-01 11014/week @ 2024-10-08 17620/week @ 2024-10-15 19320/week @ 2024-10-22 21085/week @ 2024-10-29 20732/week @ 2024-11-05 21222/week @ 2024-11-12 25313/week @ 2024-11-19 30589/week @ 2024-11-26 37741/week @ 2024-12-03 39076/week @ 2024-12-10

137,116 downloads per month
Used in 91 crates (via bon)

MIT/Apache

330KB
7K 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.8–1.3MB
~29K SLoC