PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 7
  1. 3.2.1 01 Feb 2024
    Release notes

    FIXED

    • is_full() no longer panics with full bitmaps of size 32 or multiples thereof. (#19, #27)
    Open source →
  2. 3.2.0 30 Apr 2022
    Release notes

    ADDED

    • Bitmap now implements TryFrom<&[u8]> and AsRef<[u8]>, and an as_bytes() method was added, to facilitate conversion to and from byte arrays.
    • The iterator is now bidirectional, and next_index, prev_index and last_index methods, with corresponding false_index variants, have been added. (#14)
    Open source →
    Release notes

    ADDED

    • Bitmap now implements TryFrom<&[u8]> and AsRef<[u8]>, and an as_bytes() method was added, to facilitate conversion to and from byte arrays.
    • The iterator is now bidirectional, and next_index, prev_index and last_index methods, with corresponding false_index variants, have been added. (#14)
    Open source →
  3. 3.1.0 30 Apr 2021
    Release notes

    ADDED

    • The methods first_false_index() and is_full() have been added to Bitmap. (#12)

    FIXED

    • The previous version broke the no_std feature; it has now been restored. (#11)
    Open source →
    Release notes

    ADDED

    • The methods first_false_index() and is_full() have been added to Bitmap. (#12)

    FIXED

    • The previous version broke the no_std feature; it has now been restored. (#11)
    Open source →
  4. 3.0.0 26 Apr 2021
    Release notes

    CHANGED

    • This crate now uses const generics, rather than the typenum crate, to encode numerical values in types. This means you can now use plain integers in the Bitmap type, eg. Bitmap<32>, rather than the old Bitmap<typenum::U32>. (#8, #9)

    ADDED

    • Bitmap now implements Hash, Eq, PartialOrd and Ord. (#7)
    • The as_value() method has been added to Bitmap, to get a reference to the underlying value. (#7)
    • bitmaps::Iter now implements Clone and Debug. (#4)
    Open source →
    Release notes

    CHANGED

    • This crate now uses const generics, rather than the typenum crate, to encode numerical values in types. This means you can now use plain integers in the Bitmap type, eg. Bitmap<32>, rather than the old Bitmap<typenum::U32>. (#8, #9)

    ADDED

    • Bitmap now implements Hash, Eq, PartialOrd and Ord. (#7)
    • The as_value() method has been added to Bitmap, to get a reference to the underlying value. (#7)
    • bitmaps::Iter now implements Clone and Debug. (#4)
    Open source →
  5. 2.1.0 26 Mar 2020
    Release notes

    ADDED

    • There is now a std feature flag, on by default, which you can disable to get a no_std crate.
    Open source →
    Release notes

    ADDED

    • There is now a std feature flag, on by default, which you can disable to get a no_std crate.
    Open source →
  6. 2.0.0 09 Sep 2019
    Release notes

    CHANGED

    • Bits now does a lot less work, which is now being done instead by the BitOps trait on its storage type. This turns out to improve compilation time quite considerably. If you were using methods on Bits directly, they will have moved to BitOps.
    • Debug now prints a single hex value for the entire bitmap, rather than deferring to the storage type.
    • Iter now takes a reference instead of a copy, which is more sensible for larger bitmaps.

    ADDED

    • Bitmap now implements BitAnd, BitOr, BitXor, their equivalent assignation traits, and Not, 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.
    Open source →
    Release notes

    CHANGED

    • Bits now does a lot less work, which is now being done instead by the BitOps trait on its storage type. This turns out to improve compilation time quite considerably. If you were using methods on Bits directly, they will have moved to BitOps.
    • Debug now prints a single hex value for the entire bitmap, rather than deferring to the storage type.
    • Iter now takes a reference instead of a copy, which is more sensible for larger bitmaps.

    ADDED

    • Bitmap now implements BitAnd, BitOr, BitXor, their equivalent assignation traits, and Not, 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.
    Open source →
  7. 1.0.0 06 Sep 2019
    Release notes

    Initial release.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive