Skip to content

Commit

Permalink
Fix MSRV breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
bbqsrc committed Dec 30, 2024
1 parent efa5fec commit 450da8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ use std::{
fmt::Display,
fs,
io::{self, ErrorKind},
panic::{self, PanicHookInfo},
path::{Path, PathBuf},
time::Instant,
panic,
};

// Can be removed when MSRV is bumped to 1.81+.
#[allow(deprecated)]
pub type PanicHookInfo<'a> = std::panic::PanicInfo<'a>;

use anyhow::Context;
use cargo_metadata::{camino::Utf8Path, semver::Version, Artifact, MetadataCommand};
use filetime::FileTime;
Expand Down

0 comments on commit 450da8e

Please sign in to comment.