Crates.io | cargo-toolchainer |
lib.rs | cargo-toolchainer |
version | 0.2.0 |
source | src |
created_at | 2024-07-01 00:58:09.620894 |
updated_at | 2024-07-06 04:17:38.952754 |
description | A simple cli tool for automatically updating your rust-toolchain.toml file |
homepage | |
repository | https://github.com/NathanFrasier/cargo-toolchainer |
max_upload_size | |
id | 1288276 |
size | 64,104 |
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.