Use a `rust-toolchain.toml` file?
Author: spenserblackCreated May 7, 2026Updated May 13, 2026
Labelschore
This is something I've gotten in the habit of doing in my Rust projects, to help lock the development environment to a specific Rust version.
As an added bonus, We can drop the CI steps that setup the preferred Rust version, as the built-in cargo executable in the actions runners should automatically download and use the specified rust version.
Source: o2sh/onefetch