foresterre / cargo-msrv

🦀 Find the minimum supported Rust version (MSRV) for your project
https://foresterre.github.io/cargo-msrv
Apache License 2.0
879 stars 27 forks source link

Improve error message when MSRV is locked on a non-stable version #142

Open foresterre opened 2 years ago

foresterre commented 2 years ago

Example of current output:

Minimum Supported Rust Version (MSRV).

If you think this result is erroneous, please run: `cargo check --all` manually.

If the above does succeed, or you think cargo-msrv errored in another way, please feel free to
report the issue at: https://github.com/foresterre/cargo-msrv/issues

Thank you in advance!

Split from https://github.com/foresterre/cargo-msrv/issues/124#issuecomment-939274610

cr1901 commented 1 year ago

Was there ever any progress on adding support for nightlies? I would be curious in trying to find an actual MSRV for a crate that will be on nightly for the foreseeable future. Right now, I only officially support "the most recently nightly that compiles the crate". But I would be curious to find a more well-defined lower-bound.

foresterre commented 1 year ago

Support for nightlies mostly depends on supporting nightlies in the rust-releases crate.

Last week I started working on refactoring rust-releases such that all obtainable release information can be parsed and stored, instead of only the minimum to support stable releases.

So currently, it is not possible to find an MSRV for nightlies with cargo-msrv.