cargo-msrv icon indicating copy to clipboard operation
cargo-msrv copied to clipboard

Compatibility with workspace inheritance

Open max-sixty opened this issue 1 year ago • 15 comments

Related to https://github.com/foresterre/cargo-msrv/issues/295, but I think not the same.

Currently running cargo msrv verify on https://github.com/prql/prql within prql-compiler raises an error:

❯ cargo msrv verify
Fetching index
Unable to find key 'package.rust-version' (or 'package.metadata.msrv') in '/Users/maximilian/workspace/prql/prql-compiler/Cargo.toml'

I think that's because we use workspace inheritance, taking the rust version from the workspace.

Is that something that could be supported?

Thanks!

max-sixty avatar Jan 18 '23 19:01 max-sixty