sparse-bitfield
Bitfield that allocates a series of small buffers. Adapted from mafintosh/sparse-bitfield.
Usage
extern crate sparse_bitfield;
use Bitfield;
let mut bits = new;
bits.set; // set first bit
bits.set; // set second bit
// bits.set(1_000_000_000_000, true); // set the trillionth bit
assert!;
Installation