Registry / utility / bit-vec

bit-vec

JSON →
library0.9.1rscratesunverified

A vector of bits, providing compact storage and bit-level operations.

# Cargo.toml [dependencies] bit-vec = "0.9.1"
INSTALL
IMPORT
SIG · BIT-VEC
B
bit-vec
utilityrustv0.9.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.

BitVec
use bit_vec::BitVec;

Creates a BitVec, sets a bit, and prints its value.

use bit_vec::BitVec; fn main() { let mut bits = BitVec::from_elem(10, false); bits.set(3, true); println!("Bit 3: {}", bits[3]); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Meta
1
Amazon
1
Resources
bit-vec — cargo add bit-vec · libregistry