$RUSTY_HOME, similar in spirit to rustup, but with a minimal default install and no cargo-by-default.
Commands
<id> is a channel or toolchain name such as stable, nightly, or a specific version string accepted by the installer.
Default components
A default install isrustc + rust-std only. Cargo is not downloaded unless you ask:
- Core rusty verbs do not require the cargo binary.
- Interop verbs that need cargo stay explicit and fail closed if cargo is missing.
Proxies and PATH
Afterrusty env use:
- Shims appear (or are updated) under
$RUSTY_HOME/bin. - Put that directory on
PATHsorustc/rustdoc/rustfmtresolve through rusty. - Override per process with
RUSTY_TOOLCHAINor+toolchainwhere supported.
During builds
When rusty prepares a build environment it may set:
These keep cargo-compatible tools and build scripts oriented at the managed layout without making cargo the package manager.