Crates.io | bits |
lib.rs | bits |
version | 0.0.4 |
source | src |
created_at | 2015-03-29 22:07:31.725964 |
updated_at | 2015-12-11 23:57:49.028558 |
description | x86 BMI-style bit manipulation routines |
homepage | |
repository | https://github.com/freebroccolo/bits.rs |
max_upload_size | |
id | 1738 |
size | 12,559 |
x86 BMI-style bit manipulation routines
This library provides various bit manipulation routines not available
in Rust std
. Currently it is just a portable implementation of the
x86 ABM, BMI 1/2, and TBM instruction sets but the API may expand in
the future. The implementation will (eventually) take advantage of
specialized hardware instructions available on the native platform.
See the API documentation here.
You can install both with the following:
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh
See Installing Rust for further details.
$ cargo build ## build library/binary
$ cargo run ## run examples
$ cargo test ## run tests