Require a minimum supported compiler version.
Section: Manifest basics
Pin minimum Rust version
toml
toml
[package]
rust-version = "1.75"Explanation
The manifest supports declaring a minimum supported Rust version.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Manifest basics