pub fn prepare(
    output: impl Write,
    manifest_path: Option<&Path>,
    next_release_version: String
) -> Result<()>
Expand description

Prepare the Rust workspace for a release.

Preparing the release updates the version of each crate in the workspace and of the intra-workspace dependencies. The version field in the packages table of each Cargo.toml file in the workspace is set to the supplied version. The version field of each dependency or build-dependency that is otherwise identified by a workspace-relative path dependencies is also set to the supplied version (the version filed will be added if it isn’t already present).

This implments the prepare step for sementic-release for a Cargo-based Rust workspace.