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.
Add it
Section titled “Add it”monoceros init acme --with-languages=rustmonoceros add-language acme rust:1.87Remove it
Section titled “Remove it”monoceros remove-language acme rustOr delete the entry from acme.yml by hand and re-run monoceros apply acme -
the yml is the source of truth.
Pinning a version
Section titled “Pinning a version”monoceros add-language acme rust:1.87Supported: majors from 1.64 to 1.87 (also latest).
Key options
Section titled “Key options”Set these by adding the feature directly (see Other feature options):
| Option | Default | Notes |
|---|---|---|
version | latest | Pin via the :version suffix instead. |
profile | minimal | minimal, default, or complete. |
components | rust-analyzer,rust-src,rustfmt,clippy | Comma-separated toolchain components. |
targets | (empty) | Comma-separated extra compile targets. |
Full option list: upstream feature.