nostd-bv

Crates.ionostd-bv
lib.rsnostd-bv
version0.11.2
sourcesrc
created_at2024-12-31 11:29:49.797941+00
updated_at2024-12-31 11:29:49.797941+00
descriptionBit-vectors and bit-slices
homepage
repositoryhttps://github.com/nostd-rs/bv.git
max_upload_size
id1499922
size213,740
Jeeyong Um (conr2d)

documentation

https://docs.rs/nostd-bv

README

nostd-bv: bit-vectors and bit-slices for Rust

GitHub Workflow Status Crates.io Version GitHub License

The main type exported by the library, BitVec, is a packed, growable bit-vector. Its API mirrors that of Vec where reasonable. The library also defines slice operations that return BitSlice or BitSliceMut, akin to Rust’s array slices but for bit-vectors. A common API to bit-vectors and bit-slices is provided by the Bits, BitsMut, and BitsPush traits, which also allow treating as bit-vectors all primitive unsigned integer types (uN), and vectors and slices thereof, as well as unpacked vectors and slices of bool.

Usage

It’s on crates.io, so you can add

[dependencies]
nostd-bv = "0.11"

to your Cargo.toml.

License

Licensed under either of:

at your option.

Commit count: 0

cargo fmt