diff options
Diffstat (limited to 'src/app/data_harvester/network.rs')
-rw-r--r-- | src/app/data_harvester/network.rs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/app/data_harvester/network.rs b/src/app/data_harvester/network.rs index 3497ceca..b2faebca 100644 --- a/src/app/data_harvester/network.rs +++ b/src/app/data_harvester/network.rs @@ -1,17 +1,7 @@ //! Data collection for network usage/IO. -//! -//! For Linux and macOS, this is handled by Heim. -//! For Windows, this is handled by sysinfo. -cfg_if::cfg_if! { - if #[cfg(any(target_os = "linux", target_os = "macos"))] { - pub mod heim; - pub use self::heim::*; - } else if #[cfg(any(target_os = "freebsd", target_os = "windows"))] { - pub mod sysinfo; - pub use self::sysinfo::*; - } -} +pub mod sysinfo; +pub use self::sysinfo::*; #[derive(Default, Clone, Debug)] /// All units in bits. |