Releases: servo/rust-smallvec
Releases · servo/rust-smallvec
v0.6.2
- Relicense as MIT/Apache-2.0
v0.6.1
- Add
smallvec!
macro (#90)
- Implement
Array
trait for [T; 0]
(#88)
- Add
resize
method (#82)
- Correct a typo in the docs (#81)
v0.6.0
- Breaking change: Remove deprecated
SmallVecN
type aliases and push_all_move
method (#77)
- Breaking change: Make
retain
pass &mut T
to its predicate (#61)
- Add new methods
dedup
, dedup_by
, and dedup_by_key
(#72)
- Deprecate the
VecLike
trait in favor of standard library traits (#74)
- Optimize the
Clone
and Deserialize
implementations to avoid unnecessary reallocation (#71)
- Optimize
extend_from_slice
and insert_from_slice
to use copy_nonoverlapping
(#76)
- Include the text of the Mozilla Public License in the source repo (#69)
- Improved documentation (#75)
v0.5.0
- Breaking change: Remove the optional
heapsize
dependency. (#68)
- Implement
From<Vec<T>>
and From<[T; N]>
.
v0.4.4
- Add
as_slice
and as_mut_slice
methods (#65).
- Add
with_capacity
constructor (#63).
v0.4.3
- Added
retain
method (#59).
v0.4.2
- Add
SmallVec::from_buf
constructor (#56).
- Add optional
serde
(de-)serialization support (#57).
v0.4.1
New features:
no_std
support (#49).
SmallVec<[u8; N]>
implements the Write
trait (#52).
- Add an
ExtendFromSlice
trait for both Vec
and SmallVec
(#54).
v0.4.0
- Update to
heapsize
0.4 [breaking change if the optional "heapsize" feature is enabled].
v0.3.3
- New:
SmallVec::from_vec
creates a SmallVec
from a Vec
without cloning or re-allocating (#48).