Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support workspace inheritance in cargo-set-version #752

Closed
Muscraft opened this issue Jul 26, 2022 · 1 comment · Fixed by #814
Closed

Support workspace inheritance in cargo-set-version #752

Muscraft opened this issue Jul 26, 2022 · 1 comment · Fixed by #814

Comments

@Muscraft
Copy link

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants