Releases: servo/rust-smallvec
Releases · servo/rust-smallvec
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 standard Vec::drain
(#145).
- [breaking change] Remove the
unreachable
function and replace it with the new standard unreachable_unchecked
function (#164).
- [breaking change] Use
no_std
by default. This crate depends only on core
and alloc
by default. If the optional write
feature is enabled then it depends on std
so that SmallVec<[u8;_]>
can implement the std::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).
v0.6.12
- Move code using
default fn
into its own module (#161).
v0.6.11
- The unstable
alloc
feature is no longer needed. This crate can now build with the std
feature disabled on stable Rust 1.36 or later (#159).
v0.6.10
- Fix a bug in
extend
with certain iterators (#150).
- Fix soundness bugs in the
grow
method (#151, #152).
- Fix typo in docs (#144).
v0.6.9
- Remove dependency on
unreachable
crate (#140)
v0.6.8
- Don't leak memory if an iterator panics during
extend
(#137)
- Update the unstable
union
feature for better forward compatibility (#135)
v0.6.7
- Add an optional feature to use the unstable
may_dangle
attribute (#133).
v0.6.6
- Fix possible over-allocation in
from_slice
(#122)
- Optional nightly-only
specialization
feature for from_slice
optimization (#123)
- New
from_raw_parts
constructor (#130)
- Documentation and testing improvements (#125, #129)
v0.6.5
- #115 - add
into_inner
method
- #117 - add
from_buf_and_len
and from_buf_and_len_unchecked
- #118 - optimize
from_slice
- Some code cleanup and testing improvements (#112, #113, #114, #120)
v0.6.4
- Extend the
smallvec!
macro to work with non-Copy
items (#107)
- Improve the
Debug
formatting implementation (#109)