summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-03-27 00:50:21 -0400
committerGitHub <noreply@github.com>2023-03-27 00:50:21 -0400
commit444d2f7ad7707925c0d2f44e45162ae7371dc310 (patch)
tree0aef8aeca3c609cb8f1f372d99ed553a1347a46e
parent7ee6da37766fdb2e36d9e9e11668f3fafe35463e (diff)
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
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs4
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,