Crate cargo_msrv_prep
source ·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 suffix used to backup manifest files before determining/verifying MSRV.
- Extension used for lockfiles.
- Field in the
package
section of a manifest that stores the package’s MSRV.
Functions§
- Backs up a manifest file by copying it to a new file next to it.
- Merges optional MSRV dependencies in a Cargo manifest if they exist.
- If a backup manifest exists next to the given manifest, restores it.
- Removes the
rust-version
field from a Cargo manifest’spackage
section, if present.