Internal helper library for the derive_builder crate

10 releases

0.3.0 Sep 4, 2018
0.2.0 Dec 16, 2017
0.1.7 Apr 29, 2017
0.1.0 Mar 25, 2017

#33 in Rust patterns

Download history 454/week @ 2018-06-13 925/week @ 2018-06-20 821/week @ 2018-06-27 615/week @ 2018-07-04 595/week @ 2018-07-11 716/week @ 2018-07-18 930/week @ 2018-07-25 808/week @ 2018-08-01 643/week @ 2018-08-08 842/week @ 2018-08-15 805/week @ 2018-08-22 635/week @ 2018-08-29 950/week @ 2018-09-05

3,246 downloads per month
Used in 63 crates (1 directly)


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


~25K SLoC