summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-04-14 00:13:00 -0400
committerGitHub <noreply@github.com>2023-04-14 00:13:00 -0400
commitfa1f4976e25b3ac790a95c0ec8d92a76517f8daf (patch)
tree98bf299b3156b3251ac8e92e715ab970df2afd92
parent69e64944912cf8cadfc4c6dbdf09e132242c2dc4 (diff)
deps: update starship-battery to 0.8.0 (#1098)
-rw-r--r--Cargo.lock60
-rw-r--r--Cargo.toml4
2 files changed, 13 insertions, 51 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 16025a1c..b808c6af 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -116,7 +116,7 @@ dependencies = [
"clap_mangen",
"concat-string",
"const_format",
- "core-foundation 0.9.3",
+ "core-foundation",
"crossterm 0.26.1",
"ctrlc",
"dirs",
@@ -266,32 +266,16 @@ dependencies = [
[[package]]
name = "core-foundation"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171"
-dependencies = [
- "core-foundation-sys 0.7.0",
- "libc",
-]
-
-[[package]]
-name = "core-foundation"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
dependencies = [
- "core-foundation-sys 0.8.4",
+ "core-foundation-sys",
"libc",
]
[[package]]
name = "core-foundation-sys"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac"
-
-[[package]]
-name = "core-foundation-sys"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
@@ -388,7 +372,7 @@ version = "3.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbcf33c2a618cbe41ee43ae6e9f2e48368cd9f9db2896f10167d8d762679f639"
dependencies = [
- "nix 0.26.1",
+ "nix",
"windows-sys 0.45.0",
]
@@ -706,15 +690,6 @@ dependencies = [
]
[[package]]
-name = "mach"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"
-dependencies = [
- "libc",
-]
-
-[[package]]
name = "mach2"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -761,19 +736,6 @@ dependencies = [
[[package]]
name = "nix"
-version = "0.23.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6"
-dependencies = [
- "bitflags",
- "cc",
- "cfg-if",
- "libc",
- "memoffset",
-]
-
-[[package]]
-name = "nix"
version = "0.26.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46a58d1d356c6597d08cde02c2f09d785b09e28711837b1ed667dc652c08a694"
@@ -1139,16 +1101,16 @@ checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83"
[[package]]
name = "starship-battery"
-version = "0.7.9"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3336198ad004af4447ae69be4f4e562c26814570f8f0c1e37858405a294e015d"
+checksum = "417551ac84efa1810d79d04555d36cbc83ec5a323f2ef9ee7318e34055461b6f"
dependencies = [
"cfg-if",
- "core-foundation 0.7.0",
+ "core-foundation",
"lazycell",
"libc",
- "mach",
- "nix 0.23.1",
+ "mach2",
+ "nix",
"num-traits",
"uom",
"winapi",
@@ -1215,7 +1177,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b"
dependencies = [
"cfg-if",
- "core-foundation-sys 0.8.4",
+ "core-foundation-sys",
"libc",
"ntapi",
"once_cell",
@@ -1382,9 +1344,9 @@ checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
[[package]]
name = "uom"
-version = "0.30.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e76503e636584f1e10b9b3b9498538279561adcef5412927ba00c2b32c4ce5ed"
+checksum = "e8f50eddd69f656ee545f7663ea5fefb7c789bc1a0d11124e049715f563a16a4"
dependencies = [
"num-traits",
"typenum",
diff --git a/Cargo.toml b/Cargo.toml
index 6bf616ec..eaa7f384 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -41,7 +41,7 @@ doctest = true
doc = true
[profile.dev.package."*"]
-opt-level = 3 # Compile dependencies with optimizations on.
+opt-level = 3 # Compile dependencies with optimizations on even in debug mode.
[profile.no-opt]
inherits = "dev"
@@ -94,7 +94,7 @@ nvml-wrapper = { version = "0.9.0", optional = true }
once_cell = "1.17.1"
regex = "1.7.3"
serde = { version = "1.0.160", features = ["derive"] }
-starship-battery = { version = "0.7.9", optional = true }
+starship-battery = { version = "0.8.0", optional = true }
sysinfo = "0.28.4"
thiserror = "1.0.40"
time = { version = "0.3.20", features = ["formatting", "macros"] }