| Crates.io | bv |
| lib.rs | bv |
| version | 0.11.1 |
| created_at | 2018-03-28 15:25:31.156841+00 |
| updated_at | 2020-03-19 03:40:43.107507+00 |
| description | Bit-vectors and bit-slices |
| homepage | |
| repository | https://github.com/tov/bv-rs |
| max_upload_size | |
| id | 57920 |
| size | 205,964 |
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.
It’s on crates.io, so you can add
[dependencies]
bv = "0.11.1"
to your Cargo.toml and
extern crate bv;
to your crate root.
This crate supports Rust version 1.31 and newer.