Skip to content

Commit

Permalink
bump human-panic to avoid deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Siles committed Dec 10, 2024
1 parent 1210131 commit 628a308
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ diff-struct = { version = "0.5.3", optional = true }
flate2 = "1"
hex = "0.4.3"
home = "0.5.5"
human-panic = "1"
human-panic = "2"
miette = { version = "5.10.0", features = ["fancy"] }
protobuf = { version = "3.3.0", optional = true }
protobuf-parse = { version = "3.3.0", optional = true }
Expand Down
2 changes: 0 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ enum LockfileCommand {
PrintFiles,
}

// setup_panic! is failing: use of deprecated type alias std::panic::PanicInfo
#[allow(deprecated)]
#[tokio::main(flavor = "current_thread")]
async fn main() -> miette::Result<()> {
human_panic::setup_panic!();
Expand Down

0 comments on commit 628a308

Please sign in to comment.