All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Support for Rust's unstable allocators API behind the
unstable
feature flag.
- Updated to Rust 2021 edition.
into_vec()
: useinto_bytes()
insteadFrom<&BitVec>
forVec<bool>
: usebitvec.iter().collect()
insteadFrom<BitVec>
forVec<bool>
: usebitvec.iter().collect()
instead
- Implemented
FromIterator<bool>
andFromIterator<&bool>
forBitVec
.
into_bytes()
- Made
Extend
preallocate based on the iterator'ssize_hint
. into_vec()
deprecated in favor ofinto_bytes()
and will be removed in the next minor version bump.
- A consuming iterator.
- Implemented
IntoIterator
for&Bitvec
andBitVec
.
CHANGELOG.md
BitVec::with_capacity()
BitVec::from_bools()
- Implemented the following:
From<&[bool]>
forBitVec
From<&Vec<bool>>
forBitVec
From<Vec<bool>>
forBitVec
From<&BitVec>
forVec<bool>
From<BitVec>
forVec<bool>
- Specialized
Iterator
methodssize_hint
,count
,nth
, andlast
for performance.