EN | DE

Stage 10.16: Rust Editions

Rust ships new releases on a six-week cycle and you can easily update to it with rustup update.
This means you will get constantly new, but smaller updates, not only for Rust, but also for the other tools like cargo or rustup.

Besides regular Rust updates, every 2 or 3 years the Rust team releases a new edition. You can set your Rust edition in the Cargo.toml file.

New editions can add new keywords which could conflict or be incompatible with your existing code. Therefore you have to opt-in to use a newer edition or you just stay on a working edition and everything is fine.

The Rust compiler will support all editions that existed prior to the compiler's release, and can link crates of any supported editions together.

Further information:

Rust mascot Ferris