diff --git a/Cargo.toml b/Cargo.toml index f6cb3147..e9d21213 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ lto = "fat" codegen-units = 1 [dependencies] -crossterm = "0.16" +crossterm = "0.17" chrono = "0.4.11" clap = "2.33.0" dirs = "2.0.2" @@ -32,7 +32,7 @@ futures = "0.3.4" heim = "0.0.10" log = "0.4.8" regex = "1.3" -sysinfo = "0.11" +sysinfo = "0.12" toml = "0.5.6" tui = {version = "0.8", features = ["crossterm"], default-features = false } typed-builder = "0.5.1" diff --git a/src/app/data_harvester/network.rs b/src/app/data_harvester/network.rs index 5e50a110..d99c661e 100644 --- a/src/app/data_harvester/network.rs +++ b/src/app/data_harvester/network.rs @@ -35,8 +35,8 @@ pub async fn get_network_data( if cfg!(target_os = "windows") { let networks = sys.get_networks(); for (_, network) in networks { - total_rx += network.get_total_income(); - total_tx += network.get_total_outcome(); + total_rx += network.get_total_received(); + total_tx += network.get_total_transmitted(); } } else { while let Some(io) = io_data.next().await {