summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-06-09 00:47:42 -0400
committerGitHub <noreply@github.com>2023-06-09 00:47:42 -0400
commite4eaeb1c170a9b40504e1780b3d5c6645589c7a9 (patch)
tree79e8ab4e39af4887ae3f51b78c685356346646d2
parent88bf64ab16b447f612f069838ccc5fe83b6c6e3e (diff)
deps: bump battery to 0.8.1 to fix M1 health bug (#1195)
* deps: bump battery to 0.8.1 to fix M1 health bug * update changelog
-rw-r--r--CHANGELOG.md1
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml4
3 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f019b08..3bd69ba8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#1186](https://github.com/ClementTsang/bottom/pull/1186): Fix for temperature sensor data gathering on Linux immediately halting if any method failed.
- [#1191](https://github.com/ClementTsang/bottom/pull/1191): Fix ntfs3 mounts not being counted as a physical drive type.
+- [#1195](https://github.com/ClementTsang/bottom/pull/1195): Fix battery health being incorrectly reported on M1 macOS.
## Features
diff --git a/Cargo.lock b/Cargo.lock
index 79a44258..4a979d55 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1113,9 +1113,9 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
[[package]]
name = "starship-battery"
-version = "0.8.0"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "417551ac84efa1810d79d04555d36cbc83ec5a323f2ef9ee7318e34055461b6f"
+checksum = "cdba3bd6d6ead031f1ebf9dd84ebb02cfdbe5b0e51104b4befd0a2fc3d24f87b"
dependencies = [
"cfg-if",
"core-foundation",
diff --git a/Cargo.toml b/Cargo.toml
index 47887f43..09cf1a32 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -96,8 +96,8 @@ nvml-wrapper = { version = "0.9.0", optional = true }
once_cell = "1.18.0"
regex = "1.8.4"
serde = { version = "1.0.164", features = ["derive"] }
-starship-battery = { version = "0.8.0", optional = true }
-sysinfo = "0.29.2"
+starship-battery = { version = "0.8.1", optional = true }
+sysinfo = "=0.29.2"
thiserror = "1.0.40"
time = { version = "0.3.22", features = ["formatting", "macros"] }
toml_edit = { version = "0.19.10", features = ["serde"] }