Define workflow for verifying MSRV for [lib]
s where version reqs support a range of MSRV
#312
Labels
Milestone
[lib]
s where version reqs support a range of MSRV
#312
[lib]
-only crates generally do not maintain aCargo.lock
file which makes verifying MSRV difficult because a dependency version requirement might cover a range of MSRVs.Case studies
2.33.3
has incorrect MSRV due to bitflags1.3
MSRV bump clap-rs/clap#2691'if' is not allowed in a 'const fn'
clap-rs/clap#2734As far as I'm aware, the only solution I know for this is to keep a
Cargo.lock.msrv
and to copy it over in CI.cargo-msrv verify
natively recognizing this pattern and documenting it would be one solution.The ideal long term solutions are
-Z minimal-versions
that only does minimal versions for direct dependencies (see ehuss's comment) (only a partial solution)(somewhat related to #117)
The text was updated successfully, but these errors were encountered: