Skip to main content

parse_version

Function parse_version 

Source
pub fn parse_version(v: &str) -> Option<(u64, u64, u64)>
Expand description

Parse a MAJOR.MINOR.PATCH version into comparable parts.

Deliberately not a semver crate: these are toolchain pins written by hand in lex.toml, always three numeric components, and a dependency that spells its floor some other way should be skipped rather than guessed at.