{"repo":"actions-rust-lang/setup-rust-toolchain","free":true,"listed":false,"github":"https://github.com/actions-rust-lang/setup-rust-toolchain","clone":"git clone https://github.com/actions-rust-lang/setup-rust-toolchain.git","description":"Setup a specific Rust toolchain with extra features like problem matchers","language":"Rust","stars":401,"topics":["ci","github-actions","problem-matcher","rust","rust-lang","rustup","toolchain","hacktoberfest"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Install Rust Toolchain This GitHub Action installs a Rust toolchain using rustup. It further integrates into the ecosystem. Caching for Rust tools and build artifacts is enabled. Environment variables are set to optimize the cache hits. [Problem Matchers] are provided for build messages (cargo, clippy) and formatting (rustfmt). The action is heavily inspired by dtolnay 's and extends it with further features. Example workflow Inputs All inputs are optional. If a toolchain file (i.e., rust-toolchain or rust-toolchain.toml ) is found in the root of the repository and no toolchain value is provided, all items specified in the toolchain file will be installed. If a toolchain value is provided, the toolchain file will be ignored. If no toolchain value or toolchain file is present, it will default to stable . First, all items specified in the toolchain file are installed. Afterward, the components and target specified via inputs are installed in addition to the items from the toolchain file. Name Description Default ------------------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------- toolchain Comma-separated list of Rustup toolchain specifier e.g. stable , nightly , 1.42.0 . The last version is the default. stable target Additional target support to install e.g. wasm32-unknown-unknown components Comma-separated string of additional co","default_branch":null,"files":null,"tree":[],"storefront":"/r/actions-rust-lang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/actions-rust-lang/setup-rust-toolchain/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}