Source code

Revision control

Copy as Markdown

Other Tools

# Changelog↩
## 1.9↩
* Adds a `latest_stable_rust` cargo feature, which will automatically pull in↩
other cargo features related to the latest Stable version of rust.↩
* Adds `ArrayVec::try_from_array_len`↩
* Adds `TinyVec::into_vec` and `TinyVec::into_boxed_slice`↩
* Adds support for `generic-array` crate↩
* Adds support for the `borsh` crate↩
## 1.8.1↩
* [e00E](https://github.com/e00E) updated the rustc features so that they all↩
correctly depend on the lower version feature.↩
## 1.8↩
* [Fuuzetsu](https://github.com/Fuuzetsu) added the `ArrayVec::as_inner` method.↩
## 1.7↩
* [Fuuzetsu](https://github.com/Fuuzetsu) added the `rustc_1_61` cargo feature, which adds the `retain_mut` method.↩
## 1.6.1↩
* [e00E](https://github.com/e00E) fixed the Arbitrary impl to work on Stable↩
without using a feature gate.↩
## 1.6.0↩
* [i509VCB](https://github.com/i509VCB) added the `try_` functions for fallable reallocation.↩
* [ajtribick](https://github.com/ajtribick) added more error impls to `TryFromSliceError`.↩
* The `std` feature now automatically enables the `alloc` feature as well.↩
## 1.5.1↩
* [madsmtm](https://github.com/madsmtm) fixed an error with the `alloc` feature on very old rustc versions.↩
## 1.5.0↩
* [eeeebbbbrrrr](https://github.com/eeeebbbbrrrr) added an impl for [std::io::Write](https://doc.rust-lang.org/std/io/trait.Write.html) to `TinyVec` when the element type is `u8`.↩
This is gated behind the new `std` feature.↩
## 1.4.0↩
* [saethlin](https://github.com/saethlin) stabilized the usage of const generics and array map with the `rustc_1_55` feature.↩
## 1.3.1↩
* Improved the performance of the `clone_from` method [pr 144](https://github.com/Lokathor/tinyvec/pull/144)↩
## 1.3.0↩
* [jeffa5](https://github.com/jeffa5) added arbitrary implementations for `TinyVec` and `ArrayVec` [pr 146](https://github.com/Lokathor/tinyvec/pull/146).↩
* [elomatreb](https://github.com/elomatreb) implemented `DoubleEndedIterator` for `TinyVecIterator` [pr 145](https://github.com/Lokathor/tinyvec/pull/145).↩
## 1.2.0↩
* [Cryptjar](https://github.com/Cryptjar) removed the `A:Array` bound on the struct of `ArrayVec<A:Array>`,↩
and added the `from_array_empty` method, which is a `const fn` constructor↩
## 1.1.1↩
* [saethlin](https://github.com/saethlin) contributed many PRs (↩
) to help in several benchmarks.↩
## 1.1.0↩
* [slightlyoutofphase](https://github.com/slightlyoutofphase)↩
added "array splat" style syntax to the `array_vec!` and `tiny_vec!` macros.↩
You can now write `array_vec![true; 5]` and get a length 5 array vec full of `true`,↩
just like normal array initialization allows. Same goes for `tiny_vec!`.↩
* [not-a-seagull](https://github.com/not-a-seagull)↩
added `ArrayVec::into_inner` so that you can get the array out of an `ArrayVec`.↩
## 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](https://docs.rs/tinyvec) documentation.↩
## 1.0.0↩
Initial Stable Release.↩