biterate 1.0.0

A Rust API for Gurobi optimizer
Documentation
  • Coverage
  • 100%
    19 out of 19 items documented3 out of 16 items with examples
  • Size
  • Source code size: 15.53 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.83 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • ykrist/biterate
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ykrist

biterate

A simple crate for iterating over the bits in bytes.

The crate provides 2 functionalities, exposed as traits:

  • Iterating over the 1-bits in unsigned integer types and sequences thereof
  • The reverse: Constructing integers from indices of the 1-bits

It seems stupid to publish something so simple as a crate, but I've ended up writing this code so many times (and getting it wrong) I figured I should put it a crate with actual tests.