bitness 0.4.0

Rust library for detecting OS bitness independently of the executable's bitness. Windows, GNU/Linux and FreeBSD currently supported.
Documentation
#[cfg(windows)]
mod windows;
#[cfg(all(unix, not(target_os = "freebsd")))]
mod unix;
#[cfg(target_os = "freebsd")]
mod freebsd;

mod error;

#[cfg(windows)]
pub use windows::*;
#[cfg(all(unix, not(target_os = "freebsd")))]
pub use unix::*;
#[cfg(target_os = "freebsd")]
pub use freebsd::*;

pub use error::*;

#[derive(Debug, PartialEq)]
pub enum Bitness {
    X86_32,
    X86_64,
    Unknown,
}