mirror of
https://gitee.com/openharmony/third_party_rust_tinyvec
synced 2024-11-27 07:40:31 +00:00
2.8 KiB
2.8 KiB
Changelog
1.6.0
- i509VCB added the
try_
functions for fallable reallocation. pr 158 - ajtribick added more error impls to
TryFromSliceError
. pr 160 - The
std
feature now automatically enables thealloc
feature as well.
1.5.1
1.5.0
- eeeebbbbrrrr added an impl for std::io::Write to
TinyVec
when the element type isu8
. This is gated behind the newstd
feature. pr 152
1.4.0
1.3.1
- Improved the performance of the
clone_from
method pr 144
1.3.0
- jeffa5 added arbitrary implementations for
TinyVec
andArrayVec
pr 146. - elomatreb implemented
DoubleEndedIterator
forTinyVecIterator
pr 145.
1.2.0
- Cryptjar removed the
A:Array
bound on the struct ofArrayVec<A:Array>
, and added thefrom_array_empty
method, which is aconst fn
constructor pr 141.
1.1.1
1.1.0
- slightlyoutofphase
added "array splat" style syntax to the
array_vec!
andtiny_vec!
macros. You can now writearray_vec![true; 5]
and get a length 5 array vec full oftrue
, just like normal array initialization allows. Same goes fortiny_vec!
. (pr 118) - not-a-seagull
added
ArrayVec::into_inner
so that you can get the array out of anArrayVec
. (pr 124)
1.0.2
- Added license files for the MIT and Apache-2.0 license options.
1.0.1
- Display additional features in the docs.rs/tinyvec documentation.
1.0.0
Initial Stable Release.