pub fn parse_workspace_version(cargo_toml: &str) -> Option<Version>Expand description
The [workspace.package] version = "X.Y.Z" from a Cargo.toml. Scoped to
the [workspace.package] section: the first line-anchored version = "..."
within that table, not a version under some other section (e.g. a stray
top-level [package]) nor the inline version = "..." inside a dependency
spec — the same value bump-version.sh rewrites.