Skip to content

Commit

Permalink
deps: bump dependencies as of 2023-08-26 (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang authored Aug 27, 2023
1 parent 11676bb commit 1ef0c05
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand All @@ -320,7 +320,7 @@ pub fn panic_hook(panic_info: &PanicInfo<'_>) {
let _ = execute!(
stdout,
Print(format!(
"thread '<unnamed>' panicked at '{msg}', {panic_info}\n\r{stacktrace}",
"thread '<unnamed>' panicked at '{msg}', {panic_info}\n\r{backtrace}",
)),
);
}
Expand Down

0 comments on commit 1ef0c05

Please sign in to comment.