cargo/crates
bors f797978283 Auto merge of #12553 - epage:version, r=weihanglo
refactor: Pull out cargo-add MSRV code for reuse

### What does this PR try to resolve?

#12078 added MSRV code in `cargo add`. Our assumption when writing it is that we'd need to generalize the code before reusing it in other places, like `cargo install`.  This PR focused purely on that refactor because I'm hopeful it will be useful for other work I'm doing.  Despite not having a user for this yet, I think the `cargo install` case is inevitable and I feel this does a bit to clean up MSRV related code by using a more specific type everywhere.

### How should we test and review this PR?

Each commit gradually progresses things along
2023-08-25 14:56:24 +00:00
..
cargo-platform chore(platform): Version bump 2023-07-17 13:21:41 -05:00
cargo-test-macro fix: Set MSRV for internal packages 2023-08-22 16:46:47 -05:00
cargo-test-support update tests 2023-08-25 01:43:29 +00:00
cargo-util fix: Set MSRV for internal packages 2023-08-22 16:46:47 -05:00
crates-io Add fields for bindeps on the registry 2023-08-25 01:43:29 +00:00
home chore: update home to 0.5.7 2023-07-26 11:26:49 +01:00
mdman fix: Set MSRV for internal packages 2023-08-22 16:46:47 -05:00
resolver-tests refactor: Parse, don't validate, rust_version 2023-08-24 14:15:35 -05:00
semver-check fix: Set MSRV for internal packages 2023-08-22 16:46:47 -05:00
xtask-build-man fix: Set MSRV for internal packages 2023-08-22 16:46:47 -05:00
xtask-bump-check fix(log): Use a more compact relative-time format 2023-08-22 20:34:07 -05:00
xtask-stale-label fix: Set MSRV for internal packages 2023-08-22 16:46:47 -05:00