pub fn python_version(cargo_version: &str) -> StringExpand description
A Cargo version as the Python package’s metadata writes it (PEP 440, as maturin
normalizes it): X.Y.Z-rcN is X.Y.ZrcN; a release is unchanged. The release workflow
allows no other pre-release form (scripts/release.py).