Skip to main content

RustConfig

Configures and enables the Rust platform. Docs: https://moonrepo.dev/docs/config/toolchain#rust

Index

Properties

bins

bins: BinEntry[]

List of binaries to install into the environment using cargo install.

components

components: string[]

Rust components to automatically install.

plugin

plugin: null | string

Location of the WASM plugin to use for Rust support.

syncToolchainConfig

syncToolchainConfig: boolean

When version is defined, syncs the version to rust-toolchain.toml.

targets

targets: string[]

Rust targets to automatically install.

version

version: null | string

The version of Rust to download, install, and run cargo tasks with.

@envvar

MOON_RUST_VERSION