snippetbashTip
cargo msrv — Manage the Minimum Supported Rust Version (MSRV) of a project. More information: <https://gribnau.de
Viewed 0 times
thecommandcargo msrvrustminimumsupportedclimanage
Problem
How to use the
cargo msrv command: Manage the Minimum Supported Rust Version (MSRV) of a project. More information: <https://gribnau.dev/cargo-msrv/>.Solution
cargo msrv — Manage the Minimum Supported Rust Version (MSRV) of a project. More information: <https://gribnau.dev/cargo-msrv/>.Display the MSRVs of dependencies (as specified in their
Cargo.toml):cargo msrv listFind the MSRV of the project by trying to compile it with various toolchains:
cargo msrv findShow the MSRV of the project as specified in
Cargo.toml:cargo msrv showSet 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 verifyCode Snippets
Display the MSRVs of dependencies (as specified in their `Cargo.toml`)
cargo msrv listFind the MSRV of the project by trying to compile it with various toolchains
cargo msrv findShow the MSRV of the project as specified in `Cargo.toml`
cargo msrv showSet 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 verifyContext
tldr-pages: common/cargo msrv
Revisions (0)
No revisions yet.