sysinfo 0.32.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_if! {
    if #[cfg(all(feature = "system", not(feature = "apple-sandbox")))] {
        pub(crate) mod cpu;
        pub mod system;
        pub mod process;
    }
    if #[cfg(all(feature = "system", feature = "apple-sandbox"))] {
        pub use crate::sys::app_store::process;
    }

    if #[cfg(any(
            feature = "system",
            feature = "disk",
            target_arch = "x86",
            target_arch = "x86_64",
        ))]
    {
        pub(crate) mod utils;
    }

    if #[cfg(feature = "disk")] {
        pub mod disk;
    }

    if #[cfg(feature = "apple-sandbox")] {
        #[cfg(feature = "component")]
        pub use crate::sys::app_store::component;
    } else if #[cfg(feature = "component")] {
        pub mod component;
    }
}