version-sync icon indicating copy to clipboard operation
version-sync copied to clipboard

[feature] Assert `rust-version` field in `Cargo.toml` matches MSRV in README

Open lopopolo opened this issue 3 years ago • 1 comments

As an example use case, the https://github.com/artichoke/strftime-ruby repository calls out the crate's MSRV in the README.md file and also sets the rust-version attribute in Cargo.toml.

I'd love to be able to assert these values are the same, similar to the version matcher.

lopopolo avatar Aug 15 '22 23:08 lopopolo

Hey Ryan, thanks for the idea! I think that would be a great addition to the library.

Would you be up for implementing it? There is already code which parses the Cargo.toml file, so that could be used as a starting point.

mgeisler avatar Aug 20 '22 10:08 mgeisler