#derive-builder #builder #struct #macro-derive #derive #setter #macro

macro no-std derive_builder_macro

Rust macro to automatically implement the builder pattern for arbitrary structs

13 unstable releases (4 breaking)

0.20.2 Oct 8, 2024
0.20.0 Feb 14, 2024
0.12.0 Nov 28, 2022
0.11.2 Apr 20, 2022
0.10.0 Mar 31, 2021

#12 in #setter

Download history 360309/week @ 2024-09-01 366994/week @ 2024-09-08 330107/week @ 2024-09-15 367043/week @ 2024-09-22 385231/week @ 2024-09-29 418437/week @ 2024-10-06 454657/week @ 2024-10-13 481730/week @ 2024-10-20 454257/week @ 2024-10-27 435417/week @ 2024-11-03 445026/week @ 2024-11-10 484594/week @ 2024-11-17 433332/week @ 2024-11-24 500034/week @ 2024-12-01 496870/week @ 2024-12-08 444834/week @ 2024-12-15

1,905,175 downloads per month
Used in 1,972 crates (via derive_builder)

MIT/Apache

140KB
2.5K SLoC

Build Latest version All downloads Downloads of latest version

Crate derive_builder_macro

Important Note:

  • You are probably looking for the derive_builder crate, which wraps this crate and is much more ergonomic to use.

Purpose

This is an internal helper library of derive_builder.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.5–1MB
~22K SLoC