sbitty: when standard bits become easy
This crate aims to give simple interface to bit twiddling. There is lots of standard define behavior on bitwise operation like & | ^ !
but none for single bit operations on the standard int.
Some crates emulate bitfield but i found it restrictive since on all my project i usually use those operations on extra bit of a usable number.
Setup
In your Cargo.toml:
[]
= "^1.0.0"
In your source:
use ;
use *;
use GetBits;