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↩
↩
correctly depend on the lower version feature.↩
↩
## 1.8↩
↩
↩
## 1.7↩
↩
* [Fuuzetsu](https://github.com/Fuuzetsu) added the `rustc_1_61` cargo feature, which adds the `retain_mut` method.↩
↩
## 1.6.1↩
↩
without using a feature gate.↩
↩
## 1.6.0↩
↩
* 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↩
↩
) to help in several benchmarks.↩
↩
## 1.1.0↩
↩
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!`.↩
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↩
↩
↩
## 1.0.0↩
↩
Initial Stable Release.↩