feat: update MSRV to 1.88.0, bump Rust edition to 2024#6273
feat: update MSRV to 1.88.0, bump Rust edition to 2024#6273elenaf9 merged 25 commits intolibp2p:masterfrom
Conversation
error: manual implementation of `.is_multiple_of()` https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#manual_is_multiple_of
This commit bumps the minor version of all crates (except libp2p-identity which maintains its own rust-version) and adds corresponding CHANGELOG entries.
|
I've bumped the minor version of all crates, except |
jxs
left a comment
There was a problem hiding this comment.
Thanks for this Akihito! Left a comment wrt libp2p-peer-store. Meanwhile can we also bump the edition to 2024? cc @elenaf9 @dariusc93
👍 we need the bump for #6260 anyway. Edit: done with b04e82d. |
Co-authored-by: Elena Frank <elena.frank@proton.me>
elenaf9
left a comment
There was a problem hiding this comment.
Revert version bumps where the major version wasn't released yet, merge changelogs.
Co-authored-by: Elena Frank <elena.frank@proton.me>
yeah, since we are on it matter as well do it. |
Hmm, so a minor bump in I think what we'd need to do is:
Is there an easier way to solve this? |
|
Thanks @elenaf9, for moving this PR forward. I've been thinking about an easier approach, but couldn't come up with one. I agree with the approach you suggested. |
|
This pull request has merge conflicts. Could you please resolve them @ackintosh? 🙏 |
unfortunately no, |
# Conflicts: # Cargo.toml # protocols/autonat/CHANGELOG.md # protocols/gossipsub/CHANGELOG.md # protocols/rendezvous/CHANGELOG.md # protocols/request-response/CHANGELOG.md # protocols/request-response/tests/error_reporting.rs # transports/dns/CHANGELOG.md
|
I've merged current master to fix the merge conflicts. |
|
This pull request has merge conflicts. Could you please resolve them @ackintosh? 🙏 |
I think I would propose to handle |
# Conflicts: # protocols/gossipsub/CHANGELOG.md
# Conflicts: # Cargo.lock # Cargo.toml # protocols/gossipsub/src/behaviour.rs # protocols/gossipsub/src/behaviour/tests/mod.rs # transports/tls/CHANGELOG.md # transports/tls/Cargo.toml
warning: this `if` statement can be collapsed https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#collapsible_if
Looks good to me, thanks @elenaf9! |
jxs
left a comment
There was a problem hiding this comment.
LGTM!
Let's merge this, syked to use if let chains and glad clippy updated them
|
Thanks @ackintosh! |
Description
refs #6268
This PR bumps the MSRV to 1.88.0 in order to address a vulnerability in the
timecrate, and the workspace Rust edition to 2024.Notes & open questions
ci.yml.Change checklist