diff --git a/Cargo.lock b/Cargo.lock index 7ff18b9e..1267bd16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -154,7 +154,7 @@ dependencies = [ "itertools", "libc", "log", - "mach2 0.6.0", + "mach2", "nvml-wrapper", "portable-pty", "predicates", @@ -781,9 +781,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.180" +version = "0.2.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" +checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "libloading" @@ -856,15 +856,6 @@ dependencies = [ "hashbrown 0.17.1", ] -[[package]] -name = "mach2" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a1b95cd5421ec55b445b5ae102f5ea0e768de1f82bd3001e11f426c269c3aea" -dependencies = [ - "libc", -] - [[package]] name = "mach2" version = "0.6.0" @@ -913,6 +904,18 @@ dependencies = [ "libc", ] +[[package]] +name = "nix" +version = "0.31.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" +dependencies = [ + "bitflags 2.13.0", + "cfg-if", + "cfg_aliases 0.2.1", + "libc", +] + [[package]] name = "normalize-line-endings" version = "0.3.0" @@ -991,7 +994,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" dependencies = [ "bitflags 2.13.0", + "block2", "dispatch2", + "libc", "objc2", ] @@ -1017,7 +1022,11 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15" dependencies = [ + "bitflags 2.13.0", + "block2", + "dispatch2", "libc", + "objc2", "objc2-core-foundation", ] @@ -1557,17 +1566,18 @@ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "starship-battery" -version = "0.10.3" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd0efc2c44c92705be724265a0c758e3b7c120ea63817d2d684bab86fbeced9a" +checksum = "c2aa96d3dc4e9714cd8d068e0848b1502c2ed24ae68bdb6ec31b1fb7aef1e42f" dependencies = [ "cfg-if", - "core-foundation", "lazycell", "libc", - "mach2 0.5.0", - "nix 0.30.1", + "mach2", + "nix 0.31.3", "num-traits", + "objc2-core-foundation", + "objc2-io-kit", "plist", "uom", "windows-sys 0.61.2", @@ -1860,9 +1870,9 @@ checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "uom" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd5cfe7d84f6774726717f358a37f5bca8fca273bed4de40604ad129d1107b49" +checksum = "a739f83872836c82a4f2527d4e54b37007b3de68cafe7edde95fd695968bf4b9" dependencies = [ "num-traits", "typenum", diff --git a/Cargo.toml b/Cargo.toml index 7e7ae0a9..f0714ab7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -101,7 +101,7 @@ ratatui-core = "0.1.2" regex = "1.12.3" rustc-hash = "2.1.2" serde = { version = "1.0.228", features = ["derive"] } -starship-battery = { version = "0.10.3", optional = true } +starship-battery = { version = "0.11.0", optional = true } sysinfo = "=0.39.5" timeless = "0.0.14-alpha" toml_edit = { version = "0.24.0", features = ["serde"] }