tinybitset

Crates.iotinybitset
lib.rstinybitset
version0.0.2
sourcesrc
created_at2023-12-15 13:00:34.425583
updated_at2024-10-09 14:09:45.895069
descriptionGeneric implementation of small, fixed size, copyable bitsets
homepagehttps://github.com/moia-oss/tinybitset
repositoryhttps://github.com/moia-oss/tinybitset
max_upload_size
id1070982
size50,170
rust-maintainers (github:moia-oss:rust-maintainers)

documentation

README

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.

Commit count: 18

cargo fmt