We are happy to announce that the Rust 2021 edition is entering its public testing period. All of the planned features for the edition are now availab

Rust 2021 public testing period

submited by
Style Pass
2021-07-21 22:30:02

We are happy to announce that the Rust 2021 edition is entering its public testing period. All of the planned features for the edition are now available on nightly builds along with migrations that should move your code from Rust 2018 to Rust 2021. If you'd like to learn more about the changes that are part of Rust 2021, check out the nightly version of the Edition Guide.

As we enter the public testing period, we are encouraging adventurous users to test migrating their crates over to Rust 2021. As always, we expect this to be a largely automated process. The steps to try out the Rust 2021 Edition as follows (more detailed directions can be found here):

Note that Rust 2021 is still unstable, so you can expect bugs and other changes! We recommend migrating your crates in a temporary copy of your code versus your main branch. If you do encounter problems, or find areas where quality could be improved (missing documentation, confusing error messages, etc) please file an issue and tell us about it! Thank you!

Leave a Comment