Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Updating Rust

Note

The project adhere to a Rust version policy. See the relevant section of Code Philosophy for more details.

To update to a newer version of Rust, edit the following fields in every Cargo workspace:

  • rust-toolchain.toml’s channel field
  • Cargo.toml’s rust-version field

Also, update the RUST_VERSION variable in .gitlab-ci.yml to use the same version in CI.

If you update the Rust edition, then you have to update Cargo.toml’s and rustfmt.toml’s edition field.