4 releases (2 breaking)
|0.2.1||Jan 13, 2021|
|0.2.0||Jan 11, 2020|
|0.1.0||Oct 10, 2019|
|0.0.0||Oct 2, 2019|
#166 in Cargo plugins
This crate can assist you in finding the Minimum Supported Rust Version for a crate.
cargo install cargo-msrv to install or
cargo install cargo-msrv --force to update
cargo msrvto find the MSRV for the current working directory cargo project.
cargo msrv --path <dir>to find the MSRV in the
<dir>directory cargo project.
cargo msrv -- <command>to use
<command>as the compatibility check which decides whether a Rust version is compatible or not. This command should be runnable through
rustup run <toolchain> <command>.
Tests should be run with a single thread, because otherwise
rustup uses the a single place for the download cache of a
specific toolchain version, and our multiple tests may attempt to overwrite or move the same cached version causing the
tests to get stuck and fail. You can achieve the above with the following Cargo command:
cargo test -- --test-threads=1.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.