27 releases

0.20.0 Feb 14, 2024
0.13.0 Jan 22, 2024
0.12.0 Nov 28, 2022
0.11.2 Apr 20, 2022
0.1.0 Mar 25, 2017

#424 in Procedural macros

Download history 245415/week @ 2023-11-24 242622/week @ 2023-12-01 248433/week @ 2023-12-08 214120/week @ 2023-12-15 125794/week @ 2023-12-22 151249/week @ 2023-12-29 211776/week @ 2024-01-05 220721/week @ 2024-01-12 263517/week @ 2024-01-19 247480/week @ 2024-01-26 258332/week @ 2024-02-02 251024/week @ 2024-02-09 264532/week @ 2024-02-16 281626/week @ 2024-02-23 296084/week @ 2024-03-01 144998/week @ 2024-03-08

1,033,701 downloads per month
Used in 1,548 crates (via derive_builder_macro)

MIT/Apache

135KB
2.5K SLoC

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.

Purpose

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.

Documentation

Please refer to docs.rs/derive_builder_core for the documentation of all published versions.

Changelog

Yes, we keep a changelog.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~0.7–1.1MB
~26K SLoC