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

Change minimum Rust version to 1.64.0 #395

Merged
merged 4 commits into from
Aug 11, 2023

Conversation

ebkalderon
Copy link
Owner

Changed

  • Bump async-tungstenite requirement to 0.22.
  • Bump ws_stream_tungstenite to 0.10.
  • Change minimum supported Rust version to 1.64.0.

The updated MSRV is necessary in order to build async-tungstenite 0.22. Even though this is a dev-dependency and not a hard requirement, Rust 1.59 is a pretty old compiler release anyway.

Closes #392.

This commit bumps the `async-tungstenite` package requirement to 0.22
and `ws_stream_tungstenite` to 0.10.
This is necessary in order to build `async-tungstenite` 0.22. Even
though this is a dev-dependency and not a hard requirement, Rust 1.59 is
a pretty old compiler release anyway.
@ebkalderon ebkalderon self-assigned this Aug 11, 2023
This commit tweaks the code introduced with the `syn` 2.0 migration so
iteration short-circuits as soon as it finds the `name` attribute. This
acts as a safeguard that ensures we only ever act on, at most, a single
`name` identifier, while also shortening the code's length by 1 line.
@ebkalderon ebkalderon merged commit 5973ae3 into master Aug 11, 2023
22 checks passed
@ebkalderon ebkalderon deleted the update-rust-1.64.0-and-async-tungstenite-0.22 branch August 11, 2023 01:18
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.

1 participant