version-number 0.4.0

Two and three component 'major.minor' and 'major.minor.patch' version number parsing
Documentation
1
2
3
4
5
6
7
use version_number::FullVersion;

fn main() {
    let full_version = FullVersion::parse("1.2.3").expect("Unable to parse!");

    assert_eq!(full_version, FullVersion::new(1, 2, 3));
}