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

Update MSRV to 1.60.0 #849

Closed
wants to merge 1 commit into from

Conversation

lucacasonato
Copy link
Collaborator

This fixes CI.

@lucacasonato
Copy link
Collaborator Author

cc @valenting because I seem to have lost access to the repo. Can't use "Request reviews" anymore 🙃

@lucacasonato lucacasonato mentioned this pull request Jul 11, 2023
4 tasks
Copy link
Member

@Manishearth Manishearth left a 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)

@lucacasonato
Copy link
Collaborator Author

lucacasonato commented Jul 11, 2023

We haven't specified an MSRV in Cargo.toml previously. I'll add that now. Scratch that, we added it recently. Updating now.

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 log crate has MSRV >= 1.60 now.

This fixes CI.
@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.02 🎉

Comparison is base (0e25146) 82.44% compared to head (d2e79da) 82.46%.

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              
Impacted Files Coverage Δ
url/src/lib.rs 75.96% <ø> (-0.11%) ⬇️

... and 5 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Manishearth
Copy link
Member

Yep, 1.60 is quite conservative anyway, but I wasn't comfortable approving this myself 😄

Given the past cadence, I am now

Copy link
Member

@Manishearth Manishearth left a 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"
Copy link
Member

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)

Copy link
Collaborator Author

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.

@valenting
Copy link
Collaborator

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?

@valenting
Copy link
Collaborator

I think we can close this for now. @lucacasonato please reopen if you still think we should up the MSRV.

@valenting valenting closed this Jul 12, 2023
@lucacasonato lucacasonato deleted the msrv_rust_1.60 branch July 12, 2023 11:10
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.

None yet

3 participants