| Crates.io | simplebitset |
| lib.rs | simplebitset |
| version | 0.5.0 |
| created_at | 2025-10-29 06:00:11.630615+00 |
| updated_at | 2025-11-12 21:14:58.78345+00 |
| description | Dead simple Rust bitset |
| homepage | https://github.com/paulcdejean/simplebitset |
| repository | https://github.com/paulcdejean/simplebitset |
| max_upload_size | |
| id | 1906111 |
| size | 43,370 |
A dead simple bitset. Not generic at all, it only stores u8s and nothing else. For its underlying storage it uses 256 bits.
Attempts to match the interface of std::collections::HashSet with some exceptions.
get_or_insert_with: Low priority TODO.entry: Medium priority TODO.hasher: Won't be implemented. No sane way to implement this.compatibility-methods featurecapacity: Just returns 256usize.reserve: Does nothing.shrink_to: Does nothing.shrink_to_fit: Does nothing.try_reserve: Returns Ok(()).with_capacity: Same behavior as new() just returns an empty BitSet.with_hasher: Same behavior as new() just returns an empty BitSet. Note that hasher parameter can be any type.with_capacity_and_hasher: Same behavior as new() just returns an empty bitset. Note that hasher parameter can be any type.