parse

Function parse 

Source
pub fn parse<S: AsRef<str>>(s: S) -> Result<Version>
Expand description

Quickly parse a version string without importing the Version type.

ยงExamples

let version = jayver::parse("25.16.0").unwrap();
assert_eq!(version.to_string(), "25.16.0");