sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
pub mod ffi;

cfg_select! {
    all(feature = "system", not(feature = "apple-sandbox")) => {
        pub(crate) mod cpu;
        pub mod system;
        pub mod process;
    }
    all(feature = "system", feature = "apple-sandbox") => {
        pub use crate::sys::sandbox::process;
    }
    _ => {}
}

#[cfg(feature = "disk")]
pub mod disk;
#[cfg(feature = "network")]
pub mod network;

cfg_select! {
    feature = "component" => {
        #[cfg(feature = "apple-sandbox")]
        pub use crate::sys::sandbox::component;
        #[cfg(not(feature = "apple-sandbox"))]
        pub mod component;
    }
    _ => {}
}

// Kept visible so rustfmt can format these modules.
#[cfg(any())]
mod component;
#[cfg(any())]
mod cpu;
#[cfg(any())]
mod process;
#[cfg(any())]
mod system;