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
This commit is contained in:
Clement Tsang 2023-06-09 00:47:42 -04:00 committed by GitHub
parent 88bf64ab16
commit e4eaeb1c17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

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

4
Cargo.lock generated
View File

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

View File

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