The Rust language is on track for several key new capabilities this year. A draft roadmap for the Mozilla-sponsored language would polish and stabilize all existing features, including impl Trait, macros 2.0, SIMD, generators, custom registries in the Cargo package manager, and nonlexical lifetimes, as well as revamp modules. And tools such as the Rust Language Server (RLS), the rustfmt code formatter, libraries, and documentation would be brought to 1.0 release status. The Rust 2018 release, aka Epoch, might also have build-system integration improvements.

Where to download Rust

Rust 2018 will likely ship in September, according Mozilla’s draft roadmap. An alpha build is available now.

You can run rustup install nightly to get the nightly distribution, which includes the current alpha release. Developers already on the nightly channel do not need to update the compiler.

New features expected in Rust in 2018

Because the intent is to have only stable features in Rust 2018, Mozilla may deliver other new capabilities separately from Rust 2018. Such “unstable” features could include outside Aconst generics, generic associated types, and specialization, permitting multiple impl blocks to apply to the same trait as long as one of the blocks is more specific than the other.