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 Rust edition to 2021 #501

Merged
merged 1 commit into from
Jul 18, 2022
Merged

Update Rust edition to 2021 #501

merged 1 commit into from
Jul 18, 2022

Conversation

calavera
Copy link
Contributor

Issue #, if available:

Fixes #414

Description of changes:

The AWS SDK already made the upgrade to 2021. We've had the warn_2018_idioms lint flag enabled for a while.

Since we're making a breaking change in the next version of lambda_http, I thought it could be a good opportunity to get this in, and bump the version to all the crates at the same time.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

The AWS SDK already made the upgrade to 2021. We've had the `warn_2018_idioms` lint flag enabled for a while.

Since we're making a breaking change in the next version of lambda_http, I thought it could be a good opportunity to get this in, and bump the version to all the crates at the same time.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Copy link
Contributor

@bnusunny bnusunny left a comment

Choose a reason for hiding this comment

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

LGTM

@calavera calavera merged commit bb24199 into main Jul 18, 2022
@calavera calavera deleted the edition_2021 branch July 18, 2022 04:37
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.

Migrate to Rust 2021 edition
2 participants