From fa1f4976e25b3ac790a95c0ec8d92a76517f8daf Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Fri, 14 Apr 2023 00:13:00 -0400 Subject: deps: update starship-battery to 0.8.0 (#1098) --- Cargo.lock | 60 +++++++++++------------------------------------------------- Cargo.toml | 4 ++-- 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", @@ -264,32 +264,16 @@ dependencies = [ "unicode-xid", ] -[[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" @@ -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", ] @@ -705,15 +689,6 @@ dependencies = [ "cfg-if", ] -[[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" @@ -759,19 +734,6 @@ dependencies = [ "windows-sys 0.42.0", ] -[[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" @@ -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"] } -- cgit v1.2.3