bitmaps
Fixed size boolean arrays
3.2.1
60M downloads/mo
#1101 most downloaded on crates.io
bodil/bitmaps
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 13 months
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
7 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
7 releases · Sep 2019 to Feb 2024
2020
2021
2022
2023
2024
2025
2026
Releases
latest 7-
3.2.101 Feb 2024Release notes
Open source →FIXED
is_full()no longer panics with full bitmaps of size 32 or multiples thereof. (#19, #27)
-
3.2.030 Apr 2022Release notes
Open source →ADDED
Bitmapnow implementsTryFrom<&[u8]>andAsRef<[u8]>, and anas_bytes()method was added, to facilitate conversion to and from byte arrays.- The iterator is now bidirectional, and
next_index,prev_indexandlast_indexmethods, with correspondingfalse_indexvariants, have been added. (#14)
Release notes
Open source →ADDED
Bitmapnow implementsTryFrom<&[u8]>andAsRef<[u8]>, and anas_bytes()method was added, to facilitate conversion to and from byte arrays.- The iterator is now bidirectional, and
next_index,prev_indexandlast_indexmethods, with correspondingfalse_indexvariants, have been added. (#14)
-
3.1.030 Apr 2021Release notes
Open source →ADDED
- The methods
first_false_index()andis_full()have been added toBitmap. (#12)
FIXED
- The previous version broke the
no_stdfeature; it has now been restored. (#11)
Release notes
Open source →ADDED
- The methods
first_false_index()andis_full()have been added toBitmap. (#12)
FIXED
- The previous version broke the
no_stdfeature; it has now been restored. (#11)
- The methods
-
3.0.026 Apr 2021Release notes
Open source →CHANGED
- This crate now uses const generics, rather than the
typenumcrate, to encode numerical values in types. This means you can now use plain integers in theBitmaptype, eg.Bitmap<32>, rather than the oldBitmap<typenum::U32>. (#8, #9)
ADDED
Release notes
Open source →CHANGED
- This crate now uses const generics, rather than the
typenumcrate, to encode numerical values in types. This means you can now use plain integers in theBitmaptype, eg.Bitmap<32>, rather than the oldBitmap<typenum::U32>. (#8, #9)
ADDED
Bitmapnow implementsHash,Eq,PartialOrdandOrd. (#7)- The
as_value()method has been added toBitmap, to get a reference to the underlying value. (#7) bitmaps::Iternow implementsCloneandDebug. (#4)
- This crate now uses const generics, rather than the
-
2.1.026 Mar 2020Release notes
Open source →ADDED
- There is now a
stdfeature flag, on by default, which you can disable to get ano_stdcrate.
Release notes
Open source →ADDED
- There is now a
stdfeature flag, on by default, which you can disable to get ano_stdcrate.
- There is now a
-
2.0.009 Sep 2019Release notes
Open source →CHANGED
Bitsnow does a lot less work, which is now being done instead by theBitOpstrait on its storage type. This turns out to improve compilation time quite considerably. If you were using methods onBitsdirectly, they will have moved toBitOps.Debugnow prints a single hex value for the entire bitmap, rather than deferring to the storage type.Iternow takes a reference instead of a copy, which is more sensible for larger bitmaps.
ADDED
Bitmapnow implementsBitAnd,BitOr,BitXor, their equivalent assignation traits, andNot, meaning you can now use bitwise operators on them, even the very big array-of-u128 ones.- A
Bitmap::mask()constructor has been added, to construct bitmasks more efficiently, now that there are bitwise operators to use them with.
Release notes
Open source →CHANGED
Bitsnow does a lot less work, which is now being done instead by theBitOpstrait on its storage type. This turns out to improve compilation time quite considerably. If you were using methods onBitsdirectly, they will have moved toBitOps.Debugnow prints a single hex value for the entire bitmap, rather than deferring to the storage type.Iternow takes a reference instead of a copy, which is more sensible for larger bitmaps.
ADDED
Bitmapnow implementsBitAnd,BitOr,BitXor, their equivalent assignation traits, andNot, meaning you can now use bitwise operators on them, even the very big array-of-u128 ones.- A
Bitmap::mask()constructor has been added, to construct bitmasks more efficiently, now that there are bitwise operators to use them with.
-
1.0.006 Sep 2019