From 444d2f7ad7707925c0d2f44e45162ae7371dc310 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Mon, 27 Mar 2023 00:50:21 -0400 Subject: [PATCH] deps: bump sysinfo to 0.28 (#1078) * deps: update sysinfo to 0.28.0 * 0.28.1 * 0.28.2 * 0.28.3 * 0.28.4 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/lib.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cad398fc..2b0c38c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1605,9 +1605,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.26.9" +version = "0.28.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c18a6156d1f27a9592ee18c1a846ca8dd5c258b7179fc193ae87c74ebb666f5" +checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b" dependencies = [ "cfg-if", "core-foundation-sys 0.8.3", diff --git a/Cargo.toml b/Cargo.toml index 0b9c7bf1..89bdc397 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -96,7 +96,7 @@ once_cell = "1.5.2" regex = "1.7.1" serde = { version = "1.0.152", features = ["derive"] } starship-battery = { version = "0.7.9", optional = true } -sysinfo = "0.26.7" +sysinfo = "0.28.4" thiserror = "1.0.38" time = { version = "0.3.20", features = ["formatting", "macros"] } toml_edit = { version = "0.19.4", features = ["serde"] } diff --git a/src/lib.rs b/src/lib.rs index 2c1689d8..9c1d481c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,13 +7,13 @@ #![warn(rust_2018_idioms)] #![deny(clippy::missing_safety_doc)] +// TODO: Deny unused imports. #[allow(unused_imports)] +// Only used for builds not intended for release. #[cfg(feature = "log")] #[macro_use] extern crate log; -// TODO: Deny unused imports. - use std::{ boxed::Box, fs,