]> git.proxmox.com Git - rustc.git/blob - vendor/generic-array-0.12.3/CHANGELOG.md
New upstream version 1.51.0+dfsg1
[rustc.git] / vendor / generic-array-0.12.3 / CHANGELOG.md
1 * **`0.12.0`**
2 * Allow trailing commas in `arr!` macro.
3 * **BREAKING**: Serialize `GenericArray` using `serde` tuples, instead of variable-length sequences. This may not be compatible with old serialized data.
4
5 * **`0.11.0`**
6 * **BREAKING** Redesign `GenericSequence` with an emphasis on use in generic type parameters.
7 * Add `MappedGenericSequence` and `FunctionalSequence`
8 * Implements optimized `map`, `zip` and `fold` for `GenericArray`, `&GenericArray` and `&mut GenericArray`
9 * **BREAKING** Remove `map_ref`, `zip_ref` and `map_slice`
10 * `map_slice` is now equivalent to `GenericArray::from_iter(slice.iter().map(...))`
11 * **`0.10.0`**
12 * Add `GenericSequence`, `Lengthen`, `Shorten`, `Split` and `Concat` traits.
13 * Redefine `transmute` to avert errors.
14 * **`0.9.0`**
15 * Rewrite construction methods to be well-defined in panic situations, correctly dropping elements.
16 * `NoDrop` crate replaced by `ManuallyDrop` as it became stable in Rust core.
17 * Add optimized `map`/`map_ref` and `zip`/`zip_ref` methods to `GenericArray`
18 * **`0.8.0`**
19 * Implement `AsRef`, `AsMut`, `Borrow`, `BorrowMut`, `Hash` for `GenericArray`
20 * Update `serde` to `1.0`
21 * Update `typenum`
22 * Make macro `arr!` non-cloning
23 * Implement `From<[T; N]>` up to `N=32`
24 * Fix #45
25 * **`0.7.0`**
26 * Upgrade `serde` to `0.9`
27 * Make `serde` with `no_std`
28 * Implement `PartialOrd`/`Ord` for `GenericArray`
29 * **`0.6.0`**
30 * Fixed #30
31 * Implement `Default` for `GenericArray`
32 * Implement `LowerHex` and `UpperHex` for `GenericArray<u8, N>`
33 * Use `precision` formatting field in hex representation
34 * Add `as_slice`, `as_mut_slice`
35 * Remove `GenericArray::new` in favor of `Default` trait
36 * Add `from_slice` and `from_mut_slice`
37 * `no_std` and `core` for crate.
38 * **`0.5.0`**
39 * Update `serde`
40 * remove `no_std` feature, fixed #19
41 * **`0.4.0`**
42 * Re-export `typenum`
43 * **`0.3.0`**
44 * Implement `IntoIter` for `GenericArray`
45 * Add `map` method
46 * Add optional `serde` (de)serialization support feature.
47 * **`< 0.3.0`**
48 * Initial implementation in late 2015