Crate rustup_toolchain

Source
Expand description

Utilities for working with rustup toolchains.

§Ensuring a toolchain is installed

This checks if a toolchain is installed, and installs it if not.

rustup_toolchain::ensure_installed("nightly").unwrap();

Enums§

Error
Enumerates all errors that can currently occur within this crate.

Functions§

ensure_installedDeprecated
Deprecated
install
Installs a toolchain if it is not already installed.
is_installed
Check if a toolchain is installed.

Type Aliases§

Result
Shorthand for std::result::Result<T, rustup_toolchain::Error>.