4.1 KiB
4.1 KiB
-
0.14.6
- Add an optional
Zeroize
impl forGenericArray
(#126 and #112) - Cleanup some unsafe (#125) and typos (#114)
- Use
include
inCargo.toml
to reduce package size
- Add an optional
-
0.14.5
- Fix unsoundness behavior in
GenericArrayIter::clone
(#120)
- Fix unsoundness behavior in
-
0.14.4
- Update
typenum
to1.12.0
- Make
Drop
a no-op when the inner type does not requireDrop
(usingcore::mem::needs_drop
)
- Update
-
0.14.3
- Improve behavior of
GenericArray::from_exact_iter
to assumeExactIterator
s can lie. - Fix alignment of zero-length
GenericArray
s - Implement
From<&[T; N]> for &GenericArray<T, N>
and its mutable variant
- Improve behavior of
-
0.14.2
- Lower MSRV to
1.36.0
withoutFrom<[T; N]>
implementations.
- Lower MSRV to
-
0.14.1
- Fix element conversions in
arr!
macro.
- Fix element conversions in
-
0.14.0
- Replace
Into
implementations with the more generalFrom
.- Requires minumum Rust version of 1.41.0
- Fix unsoundness in
arr!
macro. - Fix meta variable misuse
- Fix Undefined Behavior across the crate by switching to
MaybeUninit
- Improve some documentation and doctests
- Add
AsRef<[T; N]>
andAsMut<[T; N]>
impls toGenericArray<T, N>
- Add
Split
impl for&GenericArray
and&mut GenericArray
- Replace
-
0.13.2
- Add feature
more_lengths
, which adds moreFrom
/Into
implementations for arrays of various lengths.
- Add feature
-
0.13.1
- Mark
GenericArray
as#[repr(transparent)]
- Implement
Into<[T; N]>
forGenericArray<T, N>
up to N=32
- Mark
-
0.13.0
- Allow
arr!
to be imported with use syntax.- Requires minumum Rust version of 1.30.1
- Allow
-
0.12.2
- Implement
FusedIterator
forGenericArrayIter
- Implement
-
0.12.1
- Use internal iteration where possible and provide more efficient internal iteration methods.
-
0.12.0
- Allow trailing commas in
arr!
macro. - BREAKING: Serialize
GenericArray
usingserde
tuples, instead of variable-length sequences. This may not be compatible with old serialized data.
- Allow trailing commas in
-
0.11.0
- BREAKING Redesign
GenericSequence
with an emphasis on use in generic type parameters. - Add
MappedGenericSequence
andFunctionalSequence
- Implements optimized
map
,zip
andfold
forGenericArray
,&GenericArray
and&mut GenericArray
- Implements optimized
- BREAKING Remove
map_ref
,zip_ref
andmap_slice
map_slice
is now equivalent toGenericArray::from_iter(slice.iter().map(...))
- BREAKING Redesign
-
0.10.0
- Add
GenericSequence
,Lengthen
,Shorten
,Split
andConcat
traits. - Redefine
transmute
to avert errors.
- Add
-
0.9.0
- Rewrite construction methods to be well-defined in panic situations, correctly dropping elements.
NoDrop
crate replaced byManuallyDrop
as it became stable in Rust core.- Add optimized
map
/map_ref
andzip
/zip_ref
methods toGenericArray
-
0.8.0
- Implement
AsRef
,AsMut
,Borrow
,BorrowMut
,Hash
forGenericArray
- Update
serde
to1.0
- Update
typenum
- Make macro
arr!
non-cloning - Implement
From<[T; N]>
up toN=32
- Fix #45
- Implement
-
0.7.0
- Upgrade
serde
to0.9
- Make
serde
withno_std
- Implement
PartialOrd
/Ord
forGenericArray
- Upgrade
-
0.6.0
- Fixed #30
- Implement
Default
forGenericArray
- Implement
LowerHex
andUpperHex
forGenericArray<u8, N>
- Use
precision
formatting field in hex representation - Add
as_slice
,as_mut_slice
- Remove
GenericArray::new
in favor ofDefault
trait - Add
from_slice
andfrom_mut_slice
no_std
andcore
for crate.
-
0.5.0
- Update
serde
- remove
no_std
feature, fixed #19
- Update
-
0.4.0
- Re-export
typenum
- Re-export
-
0.3.0
- Implement
IntoIter
forGenericArray
- Add
map
method - Add optional
serde
(de)serialization support feature.
- Implement
-
< 0.3.0
- Initial implementation in late 2015