nostd-bv 0.11.2

Bit-vectors and bit-slices
Documentation
  • Coverage
  • 100%
    84 out of 84 items documented7 out of 7 items with examples
  • Size
  • Source code size: 213.15 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 22.95 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 30s Average build duration of successful builds.
  • all releases: 30s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • nostd-rs/bv
    1 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • conr2d

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.