16 unstable releases (6 breaking)

0.9.0 Nov 7, 2019
0.8.0 Sep 30, 2019
0.5.0 Jun 8, 2019
0.4.1 Feb 5, 2019
0.1.0 Mar 25, 2017

#632 in Rust patterns

Download history 7717/week @ 2019-12-02 6481/week @ 2019-12-09 7498/week @ 2019-12-16 5577/week @ 2019-12-23 6133/week @ 2019-12-30 9772/week @ 2020-01-06 12145/week @ 2020-01-13 13552/week @ 2020-01-20 17437/week @ 2020-01-27 14243/week @ 2020-02-03 13794/week @ 2020-02-10 14019/week @ 2020-02-17 16774/week @ 2020-02-24 15679/week @ 2020-03-02 14946/week @ 2020-03-09 12234/week @ 2020-03-16

31,324 downloads per month
Used in 182 crates (via derive_builder)


1.5K SLoC

Build status 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.


~24K SLoC