commands.sh

cargo msrv

all

Manage the Minimum Supported Rust Version (MSRV) of a project.

More info →

Examples (5)

Display the MSRVs of dependencies (as specified in their `Cargo.toml`)

Find the MSRV of the project by trying to compile it with various toolchains

Show the MSRV of the project as specified in `Cargo.toml`

Set the MSRV in `Cargo.toml` to a given Rust version

cargo msrv set version

Verify whether the MSRV is satisfiable by compiling the project using the specified version of Rust

cargo msrv verify
made by @shridhargupta | data from tldr-pages