1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//! This library provides a way to access system information such as CPU load, mounted filesystems,
//! network interfaces, etc.
#[cfg_attr(
any(
target_os = "freebsd",
target_os = "openbsd",
target_os = "netbsd",
target_os = "macos"
),
macro_use
)]
extern crate lazy_static;
#[cfg(feature = "serde")]
extern crate the_serde as serde;
pub mod data;
pub mod platform;
pub use self::data::*;
pub use self::platform::Platform;
pub use self::platform::PlatformImpl as System;