Skip to main content

system_utils/
lib.rs

1#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/README.md"))]
2
3pub mod error;
4mod prelude;
5
6#[cfg(feature = "monitor")]
7pub mod monitor;
8#[cfg(feature = "monitor")]
9pub use monitor::SystemMonitor;
10
11#[cfg(feature = "info")]
12pub mod info;
13#[cfg(feature = "info")]
14pub use info::SystemInfo;
15
16#[cfg(feature = "metrics")]
17pub mod metrics;
18#[cfg(feature = "metrics")]
19pub use metrics::SystemMetrics;
20
21#[cfg(feature = "devices")]
22pub mod devices;
23#[cfg(feature = "devices")]
24pub use devices::DevicesList;
25
26#[cfg(feature = "audio")]
27pub mod audio;
28#[cfg(feature = "audio")]
29pub use audio::AudioControl;
30
31#[cfg(feature = "power")]
32pub mod power;
33#[cfg(feature = "power")]
34pub use power::PowerManager;