Skip to content

chore: bump msrv to 1.62 #16

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

Merged
merged 3 commits into from
Aug 2, 2024
Merged

Conversation

tottoto
Copy link
Contributor

@tottoto tottoto commented Aug 2, 2024

clap_lex 0.7.2 which is a transitive dependency of criterion requires Rust 1.74.

https://crates.io/crates/clap-lex/0.7.2

@zkat
Copy link
Collaborator

zkat commented Aug 2, 2024

oh this was coming in through criterion?

I'm tempted to say we just remove the benchmarks altogether, in that case. I think it's valuable to have a low MSRV if possible.

Alternatively, could we install/run the benchmarks only on stable?

@tottoto
Copy link
Contributor Author

tottoto commented Aug 2, 2024

Alternatively, could we install/run the benchmarks only on stable?

The dev-dependencies for benchmarks cannot be separated from the crates for the ordinary tests. A workaround is making criterion as a optional dependency and adding a internal feature for benchmarks which enables crates for benchmark.

@zkat zkat merged commit fab0214 into felipesere:main Aug 2, 2024
7 checks passed
@tottoto tottoto deleted the bump-msrv-to-1.74 branch August 2, 2024 23:27
@tottoto tottoto changed the title chore: bump msrv to 1.74 chore: bump msrv to 1.62 Aug 2, 2024
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.

2 participants