Releases: servo/rust-smallvec
Releases · servo/rust-smallvec
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).
v0.3.2: Auto merge of #43 - mbrubeck:uninit, r=jdm
- New SmallVec methods:
insert_many
(#28)
extend_from_slice
and insert_from_slice
(#29)
from_slice
(#42)
into_vec
(#45)
- Integration:
- Performance improvement:
- Don't zero memory on initialization (#43).
v0.3.1: Auto merge of #40 - mbrubeck:docs, r=Ms2ger
- New:
SmallVec
implements the Default
trait (#30).
- Deprecated:
push_all_move
(use extend
instead)
- type aliases (e.g.
SmallVec2
). Use SmallVec<A>' instead (e.g.
SmallVec<[T; 2]>`)
- Removed:
VecLike::len
(use the inherent len
slice method instead) [breaking change] (#38).
- Bug fixes:
- Fixed a memory safety hazard in
grow
(#40).
- Performance improvements:
shrink_to_fit
will move data to the stack when possible (#40).
- Improved:
- More documentation, more tests, more benchmarks, and misc. code cleanup.
There is no version 0.3.0. This version was published as 0.3.1 instead of 0.3.0 by accident.
v0.2.0
- New:
- SmallVec implements the following traits: AsRef, AsMut, Borrow, BorrowMut, Extend, IntoIter, Hash. (#26)
- The iterators implement DoubleEndedIterator and ExactSizeIterator (#26).
- VecLike requires the
Extend
trait [breaking change] (#27).