#13 RFE: generate BuildRequires based on `package-rust-version` setting
Closed by decathorpe. Opened by decathorpe.

For some time now, cargo supports setting a minimum supported Rust version (MSRV) in Cargo.toml by using the package.rust-version key. Generating BuildRequires for rustc based on this minimum version would allow builds to fail fast if the MSRV was not satisfied, instead of going through installation of dynamic BuildRequires and only failing at the start of %build.


Turns out this was pretty simple. Implemented in cargo2rpm:
https://pagure.io/fedora-rust/cargo2rpm/c/cb9c786ff0e8b7ba0bd48b4fcf54937c6983c609?branch=main

Metadata Update from @decathorpe:
- Issue status updated to: Closed (was: Open)

Metadata