Skip to content

Update to Rust 1.86 toolchain, 2024 Edition #60

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

Merged
merged 6 commits into from
May 14, 2025

Conversation

giladwolff
Copy link
Contributor

@giladwolff giladwolff commented May 14, 2025

What problem are we solving?

We are building on old rust toolchain.

How are we solving the problem?

Upgrade the toolchain. While doing this I update the Rust edition as well.

Checks

Please check these off before promoting the pull request to non-draft status.

  • All CI checks are green.
  • I have reviewed the proposed changes myself.

Copy link

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@giladwolff giladwolff changed the title Update to Rust 1.86 toolchain Update to Rust 1.86 toolchain, 2024 Edition May 14, 2025
@giladwolff giladwolff marked this pull request as ready for review May 14, 2025 04:54
@giladwolff giladwolff requested a review from kushudai May 14, 2025 05:00
Cargo.toml Outdated
@@ -1,9 +1,9 @@
[package]
name = "rs-consul"
# Don't forget to update the readme with the new version!
version = "0.10.0"
version = "0.10.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change. We need to release 0.11
People on older toolchains cannot use this crate anymore since their rustc will not recognize edition 2024.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say we hold off until 1.87 which is only a couple of days away?

Copy link
Contributor Author

@giladwolff giladwolff May 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I should hold off with updating the edition?

Actually, since I'm upgrading the toolchain to 1.86 this is not an additional requirement. I'll leave it in.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that would be fine too

@giladwolff giladwolff merged commit f959b3f into main May 14, 2025
5 checks passed
@giladwolff giladwolff deleted the gw/update-rust-toolchain branch May 14, 2025 05:38
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants