Internal helper library for the derive_builder crate

12 unstable releases (3 breaking)

0.4.1 Feb 5, 2019
0.4.0 Oct 22, 2018
0.3.0 Sep 4, 2018
0.2.0 Dec 16, 2017
0.1.0 Mar 25, 2017

#23 in Rust patterns

Download history 1335/week @ 2018-12-20 1340/week @ 2018-12-27 2010/week @ 2019-01-03 2322/week @ 2019-01-10 1949/week @ 2019-01-17 1944/week @ 2019-01-24 2030/week @ 2019-01-31 2410/week @ 2019-02-07 2336/week @ 2019-02-14 2784/week @ 2019-02-21 3924/week @ 2019-02-28 2958/week @ 2019-03-07 3277/week @ 2019-03-14 4360/week @ 2019-03-21 3843/week @ 2019-03-28

11,971 downloads per month
Used in 99 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.


~23K SLoC