Using cargo update -Z direct-minimal-versions (or cargo update -Z minimal-versions) is known to be complicated. I started playing with these and had not much success due to various combinations of dev dependencies and other edge cases.
cargo-minimal-versions worked great, however, and given it's a superset around cargo-hack which we already use in the check-feature-powerset job, I decided to just upgrade that job a bit to run a minimal-versions check on MSRV.
This caught a few extra cases where our minimal dependencies were too low.
Inspired by #4272
Using
cargo update -Z direct-minimal-versions
(orcargo update -Z minimal-versions
) is known to be complicated. I started playing with these and had not much success due to various combinations of dev dependencies and other edge cases.cargo-minimal-versions
worked great, however, and given it's a superset aroundcargo-hack
which we already use in thecheck-feature-powerset
job, I decided to just upgrade that job a bit to run a minimal-versions check on MSRV.This caught a few extra cases where our minimal dependencies were too low.