Rust Roles

ensure-rust

Install Rust

Install the Rust toolchain

Role Variables

ensure_rust_rustup
Default: True

Install Rust via the rustup installer.

ensure_rust_rustup_toolchain
Default: stable

The Rust toolchain to install with rustup.

ensure_rust_rustup_path
Default: /usr

Where to install Rust/Cargo with rustup. /usr provides the tools globally. This may conflict with distribution Rust packages if installed.

ensure_rust_packages
Default: False

Install Rust via system packages. This role does not currently support package install.