deps: Upgrade crossterm and sysinfo (#105)

This commit is contained in:
Clement Tsang 2020-04-05 23:20:22 -04:00 committed by GitHub
parent 15a3eb4c7e
commit a40ddce84f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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 {