Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use 'cargo-hack' to run MSRV check without dev dependencies #754

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

danieleades
Copy link
Contributor

@danieleades danieleades commented Sep 19, 2023

decouple the MSRV check from the dev dependencies using cargo-hack

this allows dev dependencies to be updated without impacting downstream users.

note that the MSRV used in this PR was found using the following command-

cargo msrv -- cargo no-dev-deps check

(which requires installing cargo-msrv and cargo-no-dev-deps)

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@danieleades
Copy link
Contributor Author

latest bug looks like some kind of network error.
looks superficially like rust-lang/cargo#10303

msrv:
runs-on: ubuntu-latest
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 1.43.1 version of cargo does not appear to work in CI without this line. This should be reviewed on the next MSRV bump

@danieleades danieleades marked this pull request as ready for review September 19, 2023 15:40
@danieleades danieleades requested a review from jswrenn September 19, 2023 15:40
@danieleades danieleades mentioned this pull request Sep 19, 2023
Cargo.toml Show resolved Hide resolved
@Philippe-Cholet
Copy link
Member

I don't know much about CI configuration yet so I can only approve the documentation change about MSRV.

@jswrenn jswrenn added this pull request to the merge queue Sep 20, 2023
Merged via the queue into rust-itertools:master with commit 71a2a9f Sep 20, 2023
8 checks passed
@danieleades danieleades deleted the msrv-fix branch September 20, 2023 13:49
@jswrenn jswrenn mentioned this pull request Nov 14, 2023
@jswrenn jswrenn added this to the next milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants