Skip to main content

systemstat/
lib.rs

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