sysinfo 0.40.0

Library to get system information such as processes, CPUs, disks, components and networks
Documentation
// Take a look at the license at the top of the repository in the LICENSE file.

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::app_store::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::app_store::component;
        #[cfg(not(feature = "apple-sandbox"))]
        pub mod component;
    }
    _ => {}
}

// Make formattable by rustfmt.
#[cfg(any())]
mod component;
#[cfg(any())]
mod cpu;
#[cfg(any())]
mod process;
#[cfg(any())]
mod system;