Expand description
Release version rewriting across Cargo manifests and lockfiles.
Ports the semantics of scripts/release_version.py onto toml_edit:
read the current version from [package] (falling back to
[workspace.package]), then rewrite the version in every workspace member
manifest — including internal dependency entries that pin a member’s
version — plus the workspace Cargo.lock, without shelling out to cargo.
Structs§
Functions§
- current_
version - Read the release version from the repository root manifest.
- plan_
version_ rewrite - Plan the rewrite of every member manifest and the lockfile to
new_version, without touching the filesystem.