pub fn package_version(workspace: &Path, package: Package) -> Result<semver::Version> {
    CargoToml::new(workspace, package).map(|toml| toml.package_version())
}
Parse the version from the specified package's Cargo manifest.
xtask/src/lib.rs