Internal helper library for the derive_builder crate

11 unstable releases (3 breaking)

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

#28 in Rust patterns

Download history 914/week @ 2018-10-11 1359/week @ 2018-10-18 1031/week @ 2018-10-25 1805/week @ 2018-11-01 1430/week @ 2018-11-08 1318/week @ 2018-11-15 1732/week @ 2018-11-22 1669/week @ 2018-11-29 1575/week @ 2018-12-06 1788/week @ 2018-12-13 1664/week @ 2018-12-20 1418/week @ 2018-12-27 1076/week @ 2019-01-03

6,481 downloads per month
Used in 75 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.


~24K SLoC