diff --git a/Cargo.lock b/Cargo.lock index b1b893b28..01c20c8e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "addr2line" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ "gimli", ] @@ -121,9 +121,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.68" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" dependencies = [ "addr2line", "cc", @@ -178,7 +178,7 @@ dependencies = [ "predicates", "ratatui", "regex", - "rustix 0.38.8", + "rustix 0.38.9", "serde", "serde_json", "starship-battery", @@ -573,9 +573,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.3" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" [[package]] name = "hashbrown" @@ -645,7 +645,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi", - "rustix 0.38.8", + "rustix 0.38.9", "windows-sys", ] @@ -848,9 +848,9 @@ dependencies = [ [[package]] name = "object" -version = "0.31.1" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" +checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" dependencies = [ "memchr", ] @@ -1013,9 +1013,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.3" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a" +checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29" dependencies = [ "aho-corasick", "memchr", @@ -1025,9 +1025,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69" +checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629" dependencies = [ "aho-corasick", "memchr", @@ -1036,9 +1036,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "roff" @@ -1068,9 +1068,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.8" +version = "0.38.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f" +checksum = "9bfe0f2582b4931a45d1fa608f8a8722e8b3c7ac54dd6d5f3b3212791fedef49" dependencies = [ "bitflags 2.4.0", "errno", diff --git a/Cargo.toml b/Cargo.toml index 43328a311..3f9377cf1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,7 +75,7 @@ default = ["deploy"] [dependencies] anyhow = "1.0.75" -backtrace = "0.3.68" +backtrace = "0.3.69" cfg-if = "1.0.0" clap = { version = "4.3.23", features = ["default", "cargo", "wrap_help"] } concat-string = "1.0.1" @@ -92,7 +92,7 @@ kstring = { version = "2.0.0", features = ["arc"] } log = { version = "0.4.20", optional = true } nvml-wrapper = { version = "0.9.0", optional = true } once_cell = "1.18.0" -regex = "1.9.3" +regex = "1.9.4" serde = { version = "=1.0.188 ", features = ["derive"] } starship-battery = { version = "0.8.2", optional = true } sysinfo = "=0.29.8" @@ -107,7 +107,7 @@ unicode-width = "0.1.10" libc = "0.2.147" [target.'cfg(target_os = "linux")'.dependencies] -rustix = { version = "0.38.8", features = ["fs", "param", "process"] } +rustix = { version = "0.38.9", features = ["fs", "param", "process"] } [target.'cfg(target_os = "macos")'.dependencies] core-foundation = "0.9.3" diff --git a/src/lib.rs b/src/lib.rs index e3249244e..3ad1c0ecc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -305,7 +305,7 @@ pub fn panic_hook(panic_info: &PanicInfo<'_>) { }, }; - let stacktrace = format!("{:?}", backtrace::Backtrace::new()); + let backtrace = format!("{:?}", backtrace::Backtrace::new()); let _ = disable_raw_mode(); let _ = execute!( @@ -320,7 +320,7 @@ pub fn panic_hook(panic_info: &PanicInfo<'_>) { let _ = execute!( stdout, Print(format!( - "thread '' panicked at '{msg}', {panic_info}\n\r{stacktrace}", + "thread '' panicked at '{msg}', {panic_info}\n\r{backtrace}", )), ); }