diff --git a/Cargo.lock b/Cargo.lock index ae19f86..9349417 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,7 +245,6 @@ dependencies = [ "serde_json", "statistical", "tempfile", - "version_check", "winapi", ] @@ -776,12 +775,6 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" -[[package]] -name = "version_check" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" - [[package]] name = "wait-timeout" version = "0.2.0" diff --git a/Cargo.toml b/Cargo.toml index a4da83f..7e1f44a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,6 @@ tempfile = "3.2.0" [build-dependencies] clap = "2" -version_check = "0.9" atty = "0.2" [profile.release] diff --git a/build.rs b/build.rs index ebd143f..c322532 100644 --- a/build.rs +++ b/build.rs @@ -5,17 +5,6 @@ use clap::Shell; include!("src/app.rs"); fn main() { - let min_version = "1.39"; - - match version_check::is_min_version(min_version) { - Some(true) => {} - // rustc version too small or can't figure it out - _ => { - eprintln!("'hyperfine' requires rustc >= {}", min_version); - std::process::exit(1); - } - } - let var = std::env::var_os("SHELL_COMPLETIONS_DIR").or_else(|| std::env::var_os("OUT_DIR")); let outdir = match var { None => return,