Release cycle

Rust has a six-week release cycle: Every six weeks, a new stable Rust version is released. Because Rust is committed to stability, these are minor versions following Semantic Versioning.

Rust maintains three versions: Stable, Beta and Nightly. When a new Stable version is due, Beta becomes the new Stable and Nightly becomes the new Beta. A new Nightly version is released every day, including the very latest changes. Because of the release cycle, changes take at least twelve weeks until they land in Stable, giving the developers enough time to find and fix bugs. If a critical bug isn't found before it lands in Stable, the bug fix is usually backported, and a new Stable patch release (e.g. ) is published.

Rustup
Rustup is Rusts toolchain manager. Among other things, it can update the installed toolchain, install several toolchains side by side and change the default toolchain. It's even possible to install a specific Rust version, a specific Nightly build, or a custom toolchain.

For example, the following commands install Nightly (or update it, if it's already installed) and make it the default:

Nightly
Nightly Rust is intended for experimentation and for testing new language features. Although Rust is tested extensively to catch bugs, Nightly might be buggy occasionally. Furthermore, tools such as,   and   might not be included in the latest Nightly toolchain, if they failed to build or didn't pass all tests. More information is available in the Rustup components history and Rust toolstate.

Nightly has a version of the form. To install a specific Nightly, rustup allows specifying the date, e.g..

Nightly features
Nightly Rust allows the usage of opt-in nightly features. These include


 * Features that haven't been stabilized yet
 * Features that are not intended to be stabilized
 * Features that are incomplete or buggy
 * Features where it's not clear yet whether they should be stabilized, changed, or removed

Nightly features are enabled with the  attribute, in which a list of features can be specified: The standard library can use nightly features even on Beta and Stable. This is possible because it is built with the  environment variable set to. Doing the same with other crates is strongly discouraged.

Beta
Beta is more stable than Nightly, while offering improvements and new features earlier than Stable. Developers are encouraged to use Beta in order to find and report bugs; however, according to the Rust survey 2019, Beta is rarely used, whereas Nightly is more popular because of the nightly features.

Beta has a version of the form, where   is an increasing number.

Stable
Stable is the recommended Rust version for most developers, and should be used in production if possible. Aside from patch releases, a new Stable version is released every six weeks. The expected release date of the next Stable release is displayed on the unofficial website What Rust is it?.

Stable has a version of the form, where   is the minor version that is incremented every six weeks, and   is the patch version.

A few days before each release, the release notes are updated on GitHub, and a pre-release is published, which can be installed with Shortly after each release, a blog post is published on the official Rust blog, which usually explains the more important changes in detail.