-
Notifications
You must be signed in to change notification settings - Fork 340
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
Update MSRV to 1.60.0 #849
Conversation
cc @valenting because I seem to have lost access to the repo. Can't use "Request reviews" anymore 🙃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd need to also update the MSRV in Cargo.toml if we plan to do this.
(Not sure if we should do this, depends on how much our dependents care about MSRV. Probably fine, up to Valentin)
We bumped from 1.35 to 1.45 to 1.51 to 1.56 over the last two years without issue, so I don't expect this one to be a problem either. 1.60 is over a year old, so it's probably OK at this point. For a point of reference, the very widely used |
This fixes CI.
345a2ce
to
d2e79da
Compare
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #849 +/- ##
==========================================
+ Coverage 82.44% 82.46% +0.02%
==========================================
Files 20 20
Lines 3343 3348 +5
==========================================
+ Hits 2756 2761 +5
Misses 587 587
☔ View full report in Codecov by Sentry. |
Yep, 1.60 is quite conservative anyway, but I wasn't comfortable approving this myself 😄 Given the past cadence, I am now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with this one change
@@ -14,7 +14,7 @@ categories = ["parser-implementations", "web-programming", "encoding"] | |||
license = "MIT OR Apache-2.0" | |||
include = ["src/**/*", "LICENSE-*", "README.md", "tests/**"] | |||
edition = "2018" | |||
rust-version = "1.56" | |||
rust-version = "1.60" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should update the other crates as well?
(On a phone rn, tricky to check if they have this already. Probably should)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will check right after dinner.
If I'm not mistaken the MSRV mismatch is caused by the debugger_test dev-dependencies (which eventually depend on log) which are actually only tested/needed on nightly for debugger_visualizer. If that's the case, maybe we can move the dev-dependency and tests to a subcrate, and add a special CI task for it. That way we can avoid updating the MSRV just yet and make sure and make those dependencies actually nighly only? |
I think we can close this for now. @lucacasonato please reopen if you still think we should up the MSRV. |
This fixes CI.