Packages / rupm

bitset-tools 0.1.0

A growable bit set with set operations and iteration

Install

cargo add bitset-tools --registry rupm

In Ruststudio: Packages, search for bitset-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# bitset-tools

A growable bit set with set operations and iteration

Add it with `rupm add bitset-tools` (or `cargo add bitset-tools --registry rupm`).

```rust
let mut s = bitset_tools::BitSet::new();
s.insert(3)?;
s.insert(100)?;
assert!(s.contains(100));
assert_eq!(s.iter().collect::<Vec<_>>(), vec![3, 100]);
```