Tags: rustonaut/vec1
Tags
Version 1.11.0
- Increased minimal rust version to 1.74.
- Relax lifetime constraints on `{try_,}mapped_{ref,mut}`
- Added new proxy functions for `Vec`
- `try_reserve`
- `try_reserve_exact`
- `shrink_to`
- `spare_capacity_mut`
- `extend_from_within`
- `retain_mut`
- Added missing proxy trait impls
- `impl<T, const N: usize> TryFrom<Vec1<T>> for Box<[T; N]>`
- `impl<T, const N: usize> TryFrom<&[T; N]> for Vec1<T> where T: Clone`
- `impl<T, const N: usize> TryFrom<&mut [T; N]> for Vec1<T> where T: Clone`
- Removed no longer needed import/impl workaround.
- Added multiple `_nonzero` implementations
- `truncate_nonzero`
- `resize_with_nonzero`
- `resize_nonzero`
Version 1.9.0 - Increased minimal rust version to 1.56. - Added missing LICENSE-MIT,LICENSE-APACHE files. Licensing did not change. - Added `from_vec_push` and `from_vec_insert` constructors. - Use edition 2021. - Impl `TryFrom` for `[T; N]` for `Vec1<T>`/`SmallVec1<T>` using const generic.
Version 1.8.0 - minimal rust version is now 1.48 - updated documentation - more tests - deprecated the `try_` prefix usage as it created ambiguities with other potential `try_` versions (like try and don't panic if out of bounds or try and don't panic if allocation fails). - some missing methods and trait implementations (e.g. `drain) - fixed bug in `Vec1.splice()` which caused the code to return a `Size0Error` in a very specific edge case where it should have panicked due to a out of bounds range like `Vec.splice()` does.
Version 1.7.0 - minimal rust version is now 1.47 - support for `SmallVec1` backed by the `smallvec` crate (v>=1.6.1) - added `no_std` support (making `std` a default feature) - converted various `Into`/`TryInto` impls into `From`/`TryFrom` impls. - changes in the documentation for various reasons, some functions have now less good documentation as they are automatically implemented for both `Vec1`, and `smallvec-v1::SmallVec1`.
Version 1.5.0 - minimal rust version is now 1.34 - `TryFrom` is no longer feature gated - `vec1![]` now allows trailing `,` in all cases - `Size0Error` now no longer has a custom `std::error::Error::description()` implementation. - fixed various clippy::pedantic warnings - updated `Cargo.toml` - `cargo fmt`
PreviousNext