#derive #macro #builder #setter #struct

macro derive_builder_macro

Rust macro to automatically implement the builder pattern for arbitrary structs

8 releases

Uses old Rust 2015

0.12.0 Nov 28, 2022
0.11.2 Apr 20, 2022
0.11.1 Mar 16, 2022
0.10.2 Apr 21, 2021
0.10.0-alpha Jan 13, 2021

#8 in #setter

Download history 140442/week @ 2023-08-18 160444/week @ 2023-08-25 206901/week @ 2023-09-01 218300/week @ 2023-09-08 210532/week @ 2023-09-15 207249/week @ 2023-09-22 197467/week @ 2023-09-29 213753/week @ 2023-10-06 237141/week @ 2023-10-13 240102/week @ 2023-10-20 250801/week @ 2023-10-27 250135/week @ 2023-11-03 238961/week @ 2023-11-10 215664/week @ 2023-11-17 225386/week @ 2023-11-24 180757/week @ 2023-12-01

903,851 downloads per month
Used in 1,048 crates (via derive_builder)

MIT/Apache

135KB
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

~1.5MB
~38K SLoC