diff --git a/Cargo.toml b/Cargo.toml index 79915e8..468e619 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ name = "rustfft" version = "6.3.0" authors = ["Allen Welkie ", "Elliott Mahler "] edition = "2018" +rust-version = "1.61" description = "High-performance FFT library written in pure Rust." documentation = "https://docs.rs/rustfft/" @@ -58,5 +59,3 @@ libc = "=0.2.163" # it probably isn't wise to stay on an old version for a long time, but we'll have to upgrade MSRV to upgrade once_cell = "=1.20.2" -[build-dependencies] -version_check = "0.9" diff --git a/build.rs b/build.rs deleted file mode 100644 index 245a66a..0000000 --- a/build.rs +++ /dev/null @@ -1,16 +0,0 @@ -extern crate version_check; - -static MIN_RUSTC: &str = "1.61.0"; - -fn main() { - println!("cargo:rerun-if-changed=build.rs"); - match version_check::is_min_version(MIN_RUSTC) { - Some(true) => {} - Some(false) => panic!( - "\n====\nUnsupported rustc version {}\nRustFFT needs at least {}\n====\n", - version_check::Version::read().unwrap(), - MIN_RUSTC - ), - None => panic!("Unable to determine rustc version."), - }; -}