Skip to content

Rust

Curated name rust. Installs rustup + the stable toolchain via the upstream devcontainers/features/rust feature, with rust-analyzer, rust-src, rustfmt and clippy by default.

Terminal window
monoceros init acme --with-languages=rust
monoceros add-language acme rust:1.87
Terminal window
monoceros remove-language acme rust

Or delete the entry from acme.yml by hand and re-run monoceros apply acme - the yml is the source of truth.

Terminal window
monoceros add-language acme rust:1.87

Supported: majors from 1.64 to 1.87 (also latest).

Set these by adding the feature directly (see Other feature options):

OptionDefaultNotes
versionlatestPin via the :version suffix instead.
profileminimalminimal, default, or complete.
componentsrust-analyzer,rust-src,rustfmt,clippyComma-separated toolchain components.
targets(empty)Comma-separated extra compile targets.

Full option list: upstream feature.