Skip to main content

parse_tag

Function parse_tag 

Source
pub fn parse_tag(tag: &str) -> Option<Version>
Expand description

Parse a tag name as a semver version tag: one leading v is dropped, then the rest must be strict semver. v1.0.0 and 1.0.0 are versions; latest and nightly-2024 are not.