cargo-msrv set
COMMAND
- Standalone:
cargo-msrv set - Through Cargo:
cargo msrv set
PREVIEW
DESCRIPTION
Set the MSRV in the Cargo manifest.
This is either the package.rust-version field or the package.metadata.msrv field in the Cargo manifest (
Cargo.toml).
EXAMPLES
- Set an MSRV by providing a two component Rust version
cargo msrv set 1.56
- Set an MSRV by providing a three component Rust version
cargo msrv set 1.58.1