bitarr 0.2.0

A fast and efficient Rust implementation of a BitSet, supporting multiple backing stores
Documentation
  • Coverage
  • 83.58%
    56 out of 67 items documented30 out of 61 items with examples
  • Size
  • Source code size: 46.34 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.08 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • YoloDev/bitarr
    0 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Alxandr

BitArr

Crates.io docs.rs

A fast and efficient Rust implementation of a BitSet, supporting multiple backing stores.

Usage

To use BitArr in your project, add the following to your Cargo.toml:

[dependencies]
bitarr = "0"

Example

use bitarr::BitSet;

let mut bs = BitSet::from(0u16);
bs.set(3);
bs.set(7);

assert_eq!(bs.get(3), Some(true));
assert_eq!(bs.get(7), Some(true));
assert_eq!(bs.get(2), Some(false));

Documentation

API documentation can be found on docs.rs.

License

BitArr is distributed under the terms of the MIT license.

See LICENSE for details.