Releases: servo/rust-smallvec
Releases · servo/rust-smallvec
v1.2.0
v1.1.0
v0.6.13
- Use the
maybe-unit
crate in place of soon-to-be-deprecatedstd::mem::uninitialized
(#180). When built with Rust 1.36 or later, this fixes a source of undefined behavior. It also fixes deprecation warnings in Rust 1.39 and later, and test failures when run in MIRI. In Rust 1.35 and earlier it provides some safety improvements but does not completely eliminate undefined behavior. (However, we are not aware of any cases where the undefined behavior causes bugs in practice in those toolchains.)
v1.0.0
- Requires Rust 1.36 or later.
- [breaking change] Use
MaybeUninit
to avoid possible undefined behavior (#162, #170). - [breaking change] The
drain
method now takes a range argument, just like the standardVec::drain
(#145). - [breaking change] Remove the
unreachable
function and replace it with the new standardunreachable_unchecked
function (#164). - [breaking change] Use
no_std
by default. This crate depends only oncore
andalloc
by default. If the optionalwrite
feature is enabled then it depends onstd
so thatSmallVec<[u8;_]>
can implement thestd::io::Write
trait (#173). - [breaking change] Remove the deprecated
VecLike
trait (#165). - Add support for 96-element small vectors,
SmallVec<[T; 96]>
(#163). - Iterators now implement
FusedIterator
(#172). - Indexing now uses the standard
SliceIndex
trait (#166). - Add automatic fuzz testing and MIRI testing (#168, #162).
- Update syntax and formatting to Rust 2018 standard (#174, #167).