cargo-toolchainer is a simple CLI tool to update the channel in your rust-toolchain.toml file.
Rust's rust-toolchain.toml
file is used widely to lock down the Rust version for projects, however, often these projects will want to upgrade their rust version eventually.
In most cases, this is a manual process, and manual processess are subject to error. What this process needs is to be triggered automatically and have manual oversight.
This tool aims to be a component in the automatic portion of that workflow.
Install with cargo install --locked cargo-toolchainer
. This tool requires at least rustc 1.74.1 to build and install.
Once installed, run with cargo toolchainer update
to automatically detect the channel in your rust-toolchain.toml
file and update it to the newest version.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.