Skip to main content

PartialRustConfig

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

Index

Properties

optionalbins

bins?: null | PartialBinEntry[]

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

optionalcomponents

components?: null | string[]

Rust components to automatically install.

optionalplugin

plugin?: null | string

Location of the WASM plugin to use for Rust support.

optionalsyncToolchainConfig

syncToolchainConfig?: null | boolean

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

optionaltargets

targets?: null | string[]

Rust targets to automatically install.

optionalversion

version?: null | string

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

@envvar

MOON_RUST_VERSION