Expand description
Cargo subcommand useful to prepare for determining/verifying a crate’s MSRV.
This crate is a library used by the two cargo
commands provided:
cargo-msrv-prep
cargo-msrv-unprep
This library is not meant for external use and makes no guarantee on API stability.
To install cargo-msrv-prep
, see the project’s GitHub page.
Re-exports§
Modules§
Constants§
- DEFAULT_
MANIFEST_ BACKUP_ SUFFIX - Default suffix used to backup manifest files before determining/verifying MSRV.
- DEFAULT_
MANIFEST_ FILE_ NAME - Default name of a Cargo manifest file.
- LOCKFILE_
EXT - Extension used for lockfiles.
- RUST_
VERSION_ SPECIFIER - Field in the
package
section of a manifest that stores the package’s MSRV.
Functions§
- backup_
manifest - Backs up a manifest file by copying it to a new file next to it.
- maybe_
merge_ msrv_ dependencies - Merges optional MSRV dependencies in a Cargo manifest if they exist.
- maybe_
restore_ manifest - If a backup manifest exists next to the given manifest, restores it.
- remove_
rust_ version - Removes the
rust-version
field from a Cargo manifest’spackage
section, if present.