utils_box_versions/
lib.rs

1//! # Summary
2//! A toolbox library that holds a useful collection of small unitilies written in Rust that make our life easier when writting Rust applications.
3//!
4//! # Utilities provided:
5//!
6//! ## Versions
7//! version parser from strings using the `semver.org` notations
8//!
9//! Mininal Example:
10//! ```ignore
11//!    let version = "0.9.2-1e341234";
12//!
13//!     let mut expected = Version::new(0, 9, 2);
14//!     expected.pre = Prerelease::new("1e341234").unwrap();
15//!
16//!     assert_eq!(semver_parse(version).unwrap(), expected);
17//!
18//! ```
19//!
20
21pub mod versions;