29 releases

0.20.2 Oct 8, 2024
0.20.0 Feb 14, 2024
0.12.0 Nov 28, 2022
0.11.2 Apr 20, 2022
0.1.0 Mar 25, 2017

#464 in Procedural macros

Download history 374914/week @ 2024-08-27 408725/week @ 2024-09-03 389583/week @ 2024-09-10 366499/week @ 2024-09-17 402612/week @ 2024-09-24 413818/week @ 2024-10-01 443404/week @ 2024-10-08 489043/week @ 2024-10-15 501231/week @ 2024-10-22 469994/week @ 2024-10-29 444127/week @ 2024-11-05 465158/week @ 2024-11-12 513250/week @ 2024-11-19 451632/week @ 2024-11-26 515633/week @ 2024-12-03 422246/week @ 2024-12-10

1,985,423 downloads per month
Used in 2,286 crates (via derive_builder_macro)

MIT/Apache

130KB
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.5–1MB
~23K SLoC