mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-17 10:19:49 +00:00
74 lines
2.9 KiB
Markdown
74 lines
2.9 KiB
Markdown
|
# Changelog
|
||
|
|
||
|
## 1.6.0
|
||
|
|
||
|
* [i509VCB](https://github.com/i509VCB) added the `try_` functions for fallable reallocation.
|
||
|
[pr 158](https://github.com/Lokathor/tinyvec/pull/158)
|
||
|
* [ajtribick](https://github.com/ajtribick) added more error impls to `TryFromSliceError`.
|
||
|
[pr 160](https://github.com/Lokathor/tinyvec/pull/160)
|
||
|
* 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.
|
||
|
[pr 154](https://github.com/Lokathor/tinyvec/pull/154)
|
||
|
|
||
|
## 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.
|
||
|
[pr 152](https://github.com/Lokathor/tinyvec/pull/152)
|
||
|
|
||
|
## 1.4.0
|
||
|
|
||
|
* [saethlin](https://github.com/saethlin) stabilized the usage of const generics and array map with the `rustc_1_55` feature.
|
||
|
[pr 149](https://github.com/Lokathor/tinyvec/pull/149)
|
||
|
|
||
|
## 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
|
||
|
[pr 141](https://github.com/Lokathor/tinyvec/pull/141).
|
||
|
|
||
|
## 1.1.1
|
||
|
|
||
|
* [saethlin](https://github.com/saethlin) contributed many PRs (
|
||
|
[127](https://github.com/Lokathor/tinyvec/pull/127),
|
||
|
[128](https://github.com/Lokathor/tinyvec/pull/128),
|
||
|
[129](https://github.com/Lokathor/tinyvec/pull/129),
|
||
|
[131](https://github.com/Lokathor/tinyvec/pull/131),
|
||
|
[132](https://github.com/Lokathor/tinyvec/pull/132)
|
||
|
) 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!`.
|
||
|
([pr 118](https://github.com/Lokathor/tinyvec/pull/118))
|
||
|
* [not-a-seagull](https://github.com/not-a-seagull)
|
||
|
added `ArrayVec::into_inner` so that you can get the array out of an `ArrayVec`.
|
||
|
([pr 124](https://github.com/Lokathor/tinyvec/pull/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](https://docs.rs/tinyvec) documentation.
|
||
|
|
||
|
## 1.0.0
|
||
|
|
||
|
Initial Stable Release.
|