tinybitset 0.0.2

Generic implementation of small, fixed size, copyable bitsets
Documentation
  • Coverage
  • 100%
    26 out of 26 items documented0 out of 17 items with examples
  • Size
  • Source code size: 50.17 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 843.54 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • moia-oss/tinybitset
    3 1 3
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • github:moia-oss:rust-maintainers moia-crates-owner

tinybitset

This crate provides a small, fixed size bitset type that stores its data inline rather than on the heap. It uses const generics to have a single type that is generic over the size and the underlying storage type.

While the crate supports bitsets of any size, it is best used for cases where the data is small enough to be cheaply copyable. For bitsets using over 256 bits a heap-allocated implementation such as the one provided by fixedbitset might be more suitable.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.