File: README.md

package info (click to toggle)
rustc 1.85.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 893,396 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; perl: 29; lisp: 29; ruby: 19; sql: 11
file content (54 lines) | stat: -rw-r--r-- 2,180 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
![Build](https://github.com/colin-kiegel/rust-derive-builder/workflows/Build/badge.svg?branch=master)
[![Documentation](https://docs.rs/derive_builder_core/badge.svg)](https://docs.rs/derive_builder_core)
[![Latest version](https://img.shields.io/crates/v/derive_builder_core.svg)](https://crates.io/crates/derive_builder_core)
[![All downloads](https://img.shields.io/crates/d/derive_builder_core.svg)](https://crates.io/crates/derive_builder_core)
[![Downloads of latest version](https://img.shields.io/crates/dv/derive_builder_core.svg)](https://crates.io/crates/derive_builder_core)

# 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`].

[`derive_builder`]: https://crates.io/crates/derive_builder
[`derive_builder_core`]: https://crates.io/crates/derive_builder_core

## Documentation

Please refer to
[docs.rs/derive_builder_core](https://docs.rs/derive_builder_core)
for the documentation of all published versions.

## [Changelog](CHANGELOG.md)

Yes, we keep a changelog.

## License

Licensed under either of

- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)

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.