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

Set MSRV to 1.70 #34

Merged
merged 9 commits into from
Mar 4, 2024
Merged

Set MSRV to 1.70 #34

merged 9 commits into from
Mar 4, 2024

Conversation

ilaborie
Copy link
Contributor

@ilaborie ilaborie commented Mar 3, 2024

Usage of Option::is_some_and requires Rust 1.70.0

https://doc.rust-lang.org/std/option/enum.Option.html#method.is_some_and

@de-vri-es
Copy link
Owner

Ahh, oops. Good catch! Thanks for the PR!

I think I prefer to change the code to avoid is_some_and() though, and keep the MSRV on 1.65. Would you like to adjust the PR to remove is_some_and()?

I will also look into having CI catch this in the future, by adding jobs for the MSRV in addition to latest stable and nightly.

@ilaborie
Copy link
Contributor Author

ilaborie commented Mar 4, 2024

I can do these changes

@ilaborie
Copy link
Contributor Author

ilaborie commented Mar 4, 2024

I've done a minimal check of MSRV.
You can adapt the code to your needs.

@de-vri-es
Copy link
Owner

Thanks, looks good!

@de-vri-es de-vri-es merged commit 8da342d into de-vri-es:main Mar 4, 2024
7 checks passed
@de-vri-es
Copy link
Owner

Released as 0.3.14. Thanks again! 🥳

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