A rust library for dealing with versions designed to be used with lovepack tools.
Contains a custom version Struct that is based on the Semantic Versioning System. Only supports the a.b.c
format.
Also has support for wildcards when compairing Versions
together.
```rust
let wildversion = Version::fromstr("2..");
Version::fromstring("2.3.4").unwrap().iscompatiblewith(&wildversion) // will return true
```
And standard comparions can be used.
```rust
let vera = Version::fromstr("2.1.4"); let verb = Version::fromstr("2.2.3"); let verc = Version::fromstr("2.1.4");
vera < verb // true vera == verc // true
```
As a final note, you cannot compare against patterns, patterns can only be checked using the is_compatible_with
function.
Currently the only wildcard supported is *
.