bit_arch 0.1.0

High-level zero-cost bit manipulation
Documentation
//! Fast and efficient architecture-tuned bit operations.
//!
//! By default, `bit_arch` uses a static `target_feature` approach. You can enable the `dynamic`
//! feature but it might be a *little bit* slower. It is highly recommended that you compile your
//! binary with the exact feature flags your target supports. Otherwise, you will be paying for a
//! runtime feature check every time you use a function.
//!
//! `bit_arch` also supports complete `no_std` (and `no_alloc`) environments. It doesn't need an
//! operating system to run (unless you use the `dynamic` feature).
//!
//! All operations have `x86_64`-optimized paths and generic fallback paths. More architectures and
//! features may be added in the future. Currently supports BMI 1/2, TBM, and ABM on `x86_64`.

#![forbid(missing_docs)]
#![no_std]

#[cfg(feature = "dynamic")]
extern crate std;

pub mod arch;

mod api;

pub use api::*;