24 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.1.0 Mar 25, 2017

#12 in Procedural macros

Download history 107452/week @ 2022-12-01 116460/week @ 2022-12-08 117286/week @ 2022-12-15 84920/week @ 2022-12-22 91661/week @ 2022-12-29 122261/week @ 2023-01-05 125969/week @ 2023-01-12 137642/week @ 2023-01-19 145998/week @ 2023-01-26 141348/week @ 2023-02-02 146572/week @ 2023-02-09 149838/week @ 2023-02-16 166388/week @ 2023-02-23 157001/week @ 2023-03-02 176747/week @ 2023-03-09 185946/week @ 2023-03-16

715,803 downloads per month
Used in 928 crates (via derive_builder_macro)


2.5K SLoC

Build Documentation Latest version All downloads Downloads of latest version

Crate derive_builder_core

Important Note:

  • You are probably looking for the derive_builder crate, which wraps this crate and is much more ergonomic to use.
  • The API of this crate might change frequently in the near future. The derive_builder crate also provides a much more stable API.


This is an internal helper library of derive_builder. Its purpose is to allow derive_builder to use its own code generation technique, if needed.

derive_builder_core might also be used in crates that derive_builder depends on - to break a dependency cycle.

If derive_builder does not itself depend on your crate, then you should consider using derive_builder instead of derive_builder_core.


Please refer to docs.rs/derive_builder_core for the documentation of all published versions.


Yes, we keep a changelog.


Licensed under either of

at your option.


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.


~32K SLoC