| 1 |  |
| 2 | [](https://docs.rs/derive_builder_core) |
| 3 | [](https://crates.io/crates/derive_builder_core) |
| 4 | [](https://crates.io/crates/derive_builder_core) |
| 5 | [](https://crates.io/crates/derive_builder_core) |
| 6 | |
| 7 | # Crate [`derive_builder_core`] |
| 8 | |
| 9 | **Important Note**: |
| 10 | |
| 11 | * You are probably looking for the [`derive_builder`] crate, |
| 12 | which wraps this crate and is much more ergonomic to use. |
| 13 | * The API of this crate might **change frequently** in the near future. |
| 14 | The [`derive_builder`] crate also provides a much more stable API. |
| 15 | |
| 16 | ## Purpose |
| 17 | |
| 18 | This is an internal helper library of [`derive_builder`]. Its purpose is to |
| 19 | allow [`derive_builder`] to use its own code generation technique, if needed. |
| 20 | |
| 21 | [`derive_builder_core`] might also be used in crates that [`derive_builder`] |
| 22 | depends on - to break a dependency cycle. |
| 23 | |
| 24 | If [`derive_builder`] does not itself depend on _your_ crate, then you |
| 25 | should consider using [`derive_builder`] instead of [`derive_builder_core`]. |
| 26 | |
| 27 | [`derive_builder`]: https://crates.io/crates/derive_builder |
| 28 | [`derive_builder_core`]: https://crates.io/crates/derive_builder_core |
| 29 | |
| 30 | ## Documentation |
| 31 | |
| 32 | Please refer to |
| 33 | [docs.rs/derive_builder_core](https://docs.rs/derive_builder_core) |
| 34 | for the documentation of all published versions. |
| 35 | |
| 36 | ## [Changelog](CHANGELOG.md) |
| 37 | |
| 38 | Yes, we keep a changelog. |
| 39 | |
| 40 | ## License |
| 41 | |
| 42 | Licensed under either of |
| 43 | |
| 44 | - Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>) |
| 45 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) |
| 46 | |
| 47 | at your option. |
| 48 | |
| 49 | ### Contribution |
| 50 | |
| 51 | Unless you explicitly state otherwise, any contribution intentionally |
| 52 | submitted for inclusion in the work by you, as defined in the Apache-2.0 |
| 53 | license, shall be dual licensed as above, without any additional terms or |
| 54 | conditions. |