Crates.io | cargo-workspace-version |
lib.rs | cargo-workspace-version |
version | 1.0.0 |
source | src |
created_at | 2023-05-03 16:12:15.635636 |
updated_at | 2023-05-03 16:12:15.635636 |
description | Cargo plugin to update all versions in a workspace |
homepage | https://avalabs.org |
repository | |
max_upload_size | |
id | 855594 |
size | 24,472 |
Cargo plugin to check and/or update all local package versions in a workspace
We found it difficult to maintain the same version of all packages within a cargo workspace when releasing our software. This tool is used as a release tool to verify that they are all what we are expecting.
The version passed in can start with a leading 'v' so you can simply use a git tag with the version in it as a release check.
cargo install cargo-workspace-version
From the top level of your workspace, run:
cargo workspace-version check v1.0.0
This will verify that all packages under the workspace have version 1.0.0 as their version, and also that dependencies on other packages within this cargo workspace point to the new version. If there are errors reported and you want to switch them, just run:
cargo workspace-version update v1.0.0