]> git.proxmox.com Git - rustc.git/blame - vendor/generic-array/CHANGELOG.md
bump version to 1.52.1+dfsg1-1~bpo10+pve2
[rustc.git] / vendor / generic-array / CHANGELOG.md
CommitLineData
1b1a35ee
XL
1* **`0.14.4`**\r
2 * Update `typenum` to `1.12.0`\r
3 * Make `Drop` a no-op when the inner type does not require `Drop` (using `core::mem::needs_drop`)\r
4\r
5* **`0.14.3`**\r
6 * Improve behavior of `GenericArray::from_exact_iter` to assume `ExactIterator`s can lie.\r
7 * Fix alignment of zero-length `GenericArray`s\r
8 * Implement `From<&[T; N]> for &GenericArray<T, N>` and its mutable variant\r
9\r
10* **`0.14.2`**\r
11 * Lower MSRV to `1.36.0` without `From<[T; N]>` implementations.\r
12\r
13* **`0.14.1`**\r
14 * Fix element conversions in `arr!` macro.\r
15\r
16* **`0.14.0`**\r
17 * Replace `Into` implementations with the more general `From`.\r
18 * Requires minumum Rust version of 1.41.0\r
19 * Fix unsoundness in `arr!` macro.\r
20 * Fix meta variable misuse\r
21 * Fix Undefined Behavior across the crate by switching to `MaybeUninit`\r
22 * Improve some documentation and doctests\r
23 * Add `AsRef<[T; N]>` and `AsMut<[T; N]>` impls to `GenericArray<T, N>`\r
24 * Add `Split` impl for `&GenericArray` and `&mut GenericArray`\r
25\r
26* **`0.13.2`**\r
27 * Add feature `more_lengths`, which adds more `From`/`Into` implementations for arrays of various lengths.\r
28\r
29* **`0.13.1`**\r
30 * Mark `GenericArray` as `#[repr(transparent)]`\r
31 * Implement `Into<[T; N]>` for `GenericArray<T, N>` up to N=32\r
32\r
33* **`0.13.0`**\r
34 * Allow `arr!` to be imported with use syntax.\r
35 * Requires minumum Rust version of 1.30.1\r
36\r
37* **`0.12.2`**\r
38 * Implement `FusedIterator` for `GenericArrayIter`\r
39\r
40* **`0.12.1`**\r
41 * Use internal iteration where possible and provide more efficient internal iteration methods.\r
42\r
ba9703b0
XL
43* **`0.12.0`**\r
44 * Allow trailing commas in `arr!` macro.\r
45 * **BREAKING**: Serialize `GenericArray` using `serde` tuples, instead of variable-length sequences. This may not be compatible with old serialized data.\r
46\r
47* **`0.11.0`**\r
48 * **BREAKING** Redesign `GenericSequence` with an emphasis on use in generic type parameters.\r
49 * Add `MappedGenericSequence` and `FunctionalSequence`\r
50 * Implements optimized `map`, `zip` and `fold` for `GenericArray`, `&GenericArray` and `&mut GenericArray`\r
51 * **BREAKING** Remove `map_ref`, `zip_ref` and `map_slice`\r
52 * `map_slice` is now equivalent to `GenericArray::from_iter(slice.iter().map(...))`\r
53* **`0.10.0`**\r
54 * Add `GenericSequence`, `Lengthen`, `Shorten`, `Split` and `Concat` traits.\r
55 * Redefine `transmute` to avert errors.\r
56* **`0.9.0`**\r
57 * Rewrite construction methods to be well-defined in panic situations, correctly dropping elements.\r
58 * `NoDrop` crate replaced by `ManuallyDrop` as it became stable in Rust core.\r
59 * Add optimized `map`/`map_ref` and `zip`/`zip_ref` methods to `GenericArray`\r
60* **`0.8.0`**\r
61 * Implement `AsRef`, `AsMut`, `Borrow`, `BorrowMut`, `Hash` for `GenericArray`\r
62 * Update `serde` to `1.0`\r
63 * Update `typenum`\r
64 * Make macro `arr!` non-cloning\r
65 * Implement `From<[T; N]>` up to `N=32`\r
66 * Fix #45\r
67* **`0.7.0`**\r
68 * Upgrade `serde` to `0.9`\r
69 * Make `serde` with `no_std`\r
70 * Implement `PartialOrd`/`Ord` for `GenericArray`\r
71* **`0.6.0`**\r
72 * Fixed #30\r
73 * Implement `Default` for `GenericArray`\r
74 * Implement `LowerHex` and `UpperHex` for `GenericArray<u8, N>`\r
75 * Use `precision` formatting field in hex representation\r
76 * Add `as_slice`, `as_mut_slice`\r
77 * Remove `GenericArray::new` in favor of `Default` trait\r
78 * Add `from_slice` and `from_mut_slice`\r
79 * `no_std` and `core` for crate.\r
80* **`0.5.0`**\r
81 * Update `serde`\r
82 * remove `no_std` feature, fixed #19\r
83* **`0.4.0`**\r
84 * Re-export `typenum`\r
85* **`0.3.0`**\r
86 * Implement `IntoIter` for `GenericArray`\r
87 * Add `map` method\r
88 * Add optional `serde` (de)serialization support feature.\r
89* **`< 0.3.0`**\r
90 * Initial implementation in late 2015\r