pub fn parse_version(value: &str) -> Result<Version, ParseError>
Parse a version string.
Returns an error if the version string is invalid.