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

chore(*): clippy 1.51 lints #696

Merged
merged 2 commits into from
Mar 29, 2021
Merged

chore(*): clippy 1.51 lints #696

merged 2 commits into from
Mar 29, 2021

Conversation

koivunej
Copy link
Collaborator

  • 2021 edition lints re: panic
  • 1.51 redundant_slicing
  • needless_question_mark

@koivunej
Copy link
Collaborator Author

koivunej commented Mar 25, 2021

Celebrating the 1.51 release. These changes will hike the minimum supported rust version to 1.51 because of the removed now redundant slicing. It seems that the readme is already out of date as the minimum with our dependencies (the sized-chunks) uses if inside a const fn from 1.46.

- 2021 edition lints re: panic
- 1.51 redundant_slicing
- needless_question_mark

Signed-off-by: Joonas Koivunen <joonas.koivunen@gmail.com>
this had already fallen out of updating with some dependency updates
prompted by cargo audit when it was raised to 1.46 for `if` inside
`const fn`. in #696 the minimum version became 1.51.

since this codebase depends on a lot of the cryptography infrastructure
likely to be updated in the near future due to const generics
availability, it is not worth pursuing any older MSRV.

Signed-off-by: Joonas Koivunen <joonas.koivunen@gmail.com>
@koivunej koivunej requested a review from dora-gt as a code owner March 26, 2021 07:48
@koivunej
Copy link
Collaborator Author

koivunej commented Mar 26, 2021

Added the removal of MSRV 1.45 in the latest commit. This isn't supposed to be a project wide decision, but I assume it had to be raised already for the sized-chunks security update. I'll create a separate issue for discussion but my commit already explains my argument.

I wouldn't want to block merging this PR on the README change as it is just updating the README to match the reality which has been for quite some time.

@koivunej
Copy link
Collaborator Author

Enough time has passed, merging.

@koivunej koivunej merged commit ae1fa83 into interledger:master Mar 29, 2021
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