17 releases

Uses old Rust 2015

new 0.10.0-alpha Jan 13, 2021
0.9.0 Nov 7, 2019
0.8.1 Oct 31, 2019
0.5.0 Jun 8, 2019
0.1.0 Mar 25, 2017
Download history 17711/week @ 2020-09-25 17012/week @ 2020-10-02 17747/week @ 2020-10-09 20695/week @ 2020-10-16 22540/week @ 2020-10-23 23671/week @ 2020-10-30 21321/week @ 2020-11-06 21819/week @ 2020-11-13 21064/week @ 2020-11-20 21988/week @ 2020-11-27 26733/week @ 2020-12-04 22849/week @ 2020-12-11 15256/week @ 2020-12-18 10898/week @ 2020-12-25 19876/week @ 2021-01-01 23269/week @ 2021-01-08

89,122 downloads per month
Used in 255 crates (2 directly)



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.


~26K SLoC