|
1 | 1 | The `slimvec` package includes the following cargo-features: |
2 | 2 |
|
3 | | -### `std` |
4 | | - |
5 | | -Enables `std::io::Write` for `SlimVec<u8>`. |
6 | 3 |
|
7 | 4 | ### `arbitrary` |
8 | 5 |
|
9 | | -Enables support for [`arbitrary`]. |
10 | | - |
11 | 6 | [`arbitrary`]: https://crates.io/crates/arbitrary |
12 | 7 |
|
13 | | -### `serde` |
| 8 | +Enables support for constructing arbitrary values via [`arbitrary`]. |
| 9 | + |
| 10 | +- Adds implementation of `arbitrary::Arbitrary` for `SlimVec<T: Arbitrary>`. |
| 11 | + |
| 12 | + |
| 13 | +### `borsh` |
| 14 | + |
| 15 | +[`borsh`]: https://crates.io/crates/borsh |
| 16 | + |
| 17 | +Enables support for serialisation & deserialisation via [`borsh`]. |
| 18 | + |
| 19 | +- Adds implementation of `borsh::BorshSerialize` for |
| 20 | + `SlimVec<T: BorshSerialize>`. |
| 21 | +- Adds implementation of `borsh::BorshDeserialize` for |
| 22 | + `SlimVec<T: BorshDeserialize>`. |
| 23 | + |
| 24 | + |
| 25 | +### `comparable` |
| 26 | + |
| 27 | +[`comparable`]: https://crates.io/crates/comparable |
| 28 | + |
| 29 | +Enables support for structural comparison via [`comparable`]. |
| 30 | + |
| 31 | +- Adds implementation of `comparable::Comparable` for `SlimVec<T: Comparable>`. |
14 | 32 |
|
15 | | -Enables serialisation and deserialisation via [`serde`]. |
| 33 | + |
| 34 | +### `serde` |
16 | 35 |
|
17 | 36 | [`serde`]: https://crates.io/crates/serde |
18 | 37 |
|
19 | | -### `valuable` |
| 38 | +Enables support for serialisation & deserialisation via [`serde`]. |
| 39 | + |
| 40 | +- Adds implementation of `serde::Serialize` for `SlimVec<T: Serialize>`. |
| 41 | +- Adds implementation of `serde::Deserialize` for `SlimVec<T: Deserialize>`. |
| 42 | + |
| 43 | + |
| 44 | +### `std` |
20 | 45 |
|
21 | | -Enables value inspect via [`valuable`]. |
| 46 | +[Rust Standard Library]: https://doc.rust-lang.org/std |
| 47 | + |
| 48 | +Enables support for sinking byte streams via the [Rust Standard Library]. |
| 49 | + |
| 50 | +- Adds implementation of `std::io::Write` for `SlimVec<u8>`. |
| 51 | + |
| 52 | + |
| 53 | +### `valuable` |
22 | 54 |
|
23 | 55 | [`valuable`]: https://crates.io/crates/valuable |
| 56 | + |
| 57 | +Enables dyn-compatible value inspection via [`valuable`]. |
| 58 | + |
| 59 | +- Adds implementation of `valuable::Valuable` for `SlimVec<T: Valuable>`. |
| 60 | +- Adds implementation of `valuable::Listable` for `SlimVec<T: Valuable>`. |
0 commit comments