Registry / utility / smallbitvec

smallbitvec

JSON →
library2.6.1rscratesunverified

A bit vector optimized for size and inline storage, suitable for small sets of bits.

# Cargo.toml [dependencies] smallbitvec = "2.6.1"
INSTALL
IMPORT
SIG · SMALLBITVEC
S
smallbitvec
utilityrustv2.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SmallBitVec
use smallbitvec::SmallBitVec;

Create and manipulate a small bit vector

use smallbitvec::SmallBitVec; fn main() { let mut bv = SmallBitVec::from_elem(10, false); bv.set(3, true); println!("{:?}", bv.get(3)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
smallbitvec — cargo add smallbitvec · libregistry