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 binstall.

optionalbinstallVersion

binstallVersion?: null | string

The version of cargo-binstall to install. Defaults to latest if not defined.

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