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

Generate crates with Rust 2021 edition #1332

Closed
david-perez opened this issue Apr 20, 2022 · 0 comments · Fixed by #1388
Closed

Generate crates with Rust 2021 edition #1332

david-perez opened this issue Apr 20, 2022 · 0 comments · Fixed by #1388
Assignees

Comments

@david-perez
Copy link
Contributor

We currently generate crates using Rust 2018 edition:

https://github.com/awslabs/smithy-rs/blob/2931c9e1e68bfc74618e427ecb6d6a86a6a35a5f/codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/CargoTomlGenerator.kt#L63-L63

In #1268, runtime crates were updated to Rust 2021 edition.

@82marbag 82marbag self-assigned this May 12, 2022
82marbag pushed a commit that referenced this issue May 13, 2022
Generate crates using Rust 2021 instead of Rust 2018
Remove use std::convert::TryFrom which is in the prelude

Closes #1332

Signed-off-by: Daniele Ahmed <[email protected]>
82marbag pushed a commit that referenced this issue May 13, 2022
Generate crates using Rust 2021 instead of Rust 2018
Remove use std::convert::TryFrom which is in the prelude

Closes #1332

Signed-off-by: Daniele Ahmed <[email protected]>
82marbag added a commit that referenced this issue May 13, 2022
Generate crates using Rust 2021 instead of Rust 2018
Remove use std::convert::TryFrom which is in the prelude

Closes #1332

Signed-off-by: Daniele Ahmed <[email protected]>
david-perez added a commit that referenced this issue Sep 12, 2022
We've long migrated to the 2021 edition everywhere. See PRs #1388, #1328,
and #1268.

See issue #1332 too.
david-perez added a commit that referenced this issue Sep 13, 2022
We've long migrated to the 2021 edition everywhere. See PRs #1388, #1328,
and #1268.

See issue #1332 too.
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 a pull request may close this issue.

2 participants