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

macro derive_builder_macro_fork_arti

Rust macro to automatically implement the builder pattern for arbitrary structs

1 unstable release

Uses old Rust 2015

0.11.2 May 6, 2022

#24 in #derive-builder

Download history 1830/week @ 2024-03-13 2566/week @ 2024-03-20 1827/week @ 2024-03-27 2068/week @ 2024-04-03 1930/week @ 2024-04-10 1400/week @ 2024-04-17 1884/week @ 2024-04-24 1718/week @ 2024-05-01 1419/week @ 2024-05-08 1735/week @ 2024-05-15 1497/week @ 2024-05-22 1755/week @ 2024-05-29 1341/week @ 2024-06-05 2027/week @ 2024-06-12 2670/week @ 2024-06-19 2420/week @ 2024-06-26

8,826 downloads per month
Used in 35 crates (via derive_builder_fork_arti)

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.

THIS IS A FORK

This version of derive_builder has an additional sub_builder feature, which has not been accepted upstream. We may add further additional features.

In other respects, this fork is likely to lag behind the upstream crate.

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

~2MB
~41K SLoC