Skip to content

Commit 1bf879a

Browse files
lucabejmahler
andauthored
Move MSRV to cargo.toml and remove build.rs (#143)
* Move MSRV to cargo.toml and remove build.rs This reworks MSRV detection logic, using the `rust-version` field in Cargo manifest. It allows dropping `build.rs` and removing the `version_check` build-dependency. Ref: https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field * touching a file to hopefully re-trigger checks --------- Co-authored-by: Elliott Mahler <[email protected]>
1 parent bfc1b56 commit 1bf879a

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ name = "rustfft"
44
version = "6.3.0"
55
authors = ["Allen Welkie <allen.welkie at gmail>", "Elliott Mahler <join.together at gmail>"]
66
edition = "2018"
7+
rust-version = "1.61"
78

89
description = "High-performance FFT library written in pure Rust."
910
documentation = "https://docs.rs/rustfft/"
@@ -58,5 +59,3 @@ libc = "=0.2.163"
5859
# it probably isn't wise to stay on an old version for a long time, but we'll have to upgrade MSRV to upgrade
5960
once_cell = "=1.20.2"
6061

61-
[build-dependencies]
62-
version_check = "0.9"

build.rs

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)