1 unstable release

Uses old Rust 2015

0.11.2 May 6, 2022

#1770 in Procedural macros

Download history 1561/week @ 2024-01-05 1435/week @ 2024-01-12 1998/week @ 2024-01-19 1548/week @ 2024-01-26 2395/week @ 2024-02-02 2186/week @ 2024-02-09 1480/week @ 2024-02-16 1193/week @ 2024-02-23 3399/week @ 2024-03-01 1595/week @ 2024-03-08 1765/week @ 2024-03-15 2740/week @ 2024-03-22 2015/week @ 2024-03-29 2140/week @ 2024-04-05 1464/week @ 2024-04-12 1218/week @ 2024-04-19

7,279 downloads per month
Used in 35 crates (via derive_builder_macro_fork…)

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.

THIS IS A FORK

This version of derive_builder has an additional sub_builder feature, which has not been accepted upstream. We may add further additional features.

In other respects, this fork is likely to lag behind the upstream crate.

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

~1.5MB
~41K SLoC