cargo-edit icon indicating copy to clipboard operation
cargo-edit copied to clipboard

Support workspace inheritance in `cargo-set-version`

Open Muscraft opened this issue 2 years ago • 0 comments

Workspace inheritance was stabilized recently and set to be released in Rust version 1.64 on September 22, 2022.

cargo-set-version currently does not allow setting the version in the [workspace.package] table. This needs to happen as workspace inheritance allows inheriting a version from the workspace root by setting version.workspace = true in the member and in the workspace root putting:

[workspace.package]
version = "0.1.0"

Muscraft avatar Jul 26 '22 18:07 Muscraft