recital

Crates.iorecital
lib.rsrecital
version0.3.0
sourcesrc
created_at2016-02-18 18:22:23.412174
updated_at2016-02-20 00:13:02.817406
descriptionCreate, parse, edit, and compare semantic version numbers.
homepagehttps://github.com/kherge/recital/
repositoryhttps://github.com/kherge/recital.git
max_upload_size
id4205
size40,333
wrangler (github:cloudflare:wrangler)

documentation

https://kherge.github.io/recital/

README

Build Status Crates.io

Recital

Create, parse, edit, and compare semantic version numbers.

Usage

#[macro_use]
extern crate recital;

fn main() {
    let installed: Version = "1.0.0-beta".parse();
    let published: Version = "1.3.4".parse();

    if published > installed {
        println("A new version is available: {}", published);
    }
}

Please refer to the documentation for the crate.

Installation

Add it to your list of dependencies.

"recital" = "0.3.0"

License

Released under the MIT license.

Commit count: 28

cargo fmt