rust-version

Crates.iorust-version
lib.rsrust-version
version0.4.0
sourcesrc
created_at2017-09-04 18:32:22.460069
updated_at2017-10-30 23:44:02.648469
descriptionCrate for parsing Rust versions.
homepage
repositoryhttps://github.com/clarcharr/rust-version
max_upload_size
id30544
size98,338
Clar Fon (clarfonthey)

documentation

https://docs.charr.xyz/rust-version/rust_version

README

Rust version parsing

Crate for parsing Rust versions. You may freely use and modify this code under the CC0 1.0 Universal License.

You can find the rustdoc here.

Usage

To use in your own project, just add the below to your Cargo.toml file.

[dependencies]
rust-version = "0.1"

By default, Version will parse out commit strings and ensure that they match actual git commits to the Rust project. This is very expensive, and can be disabled by disabling the commit feature:

[dependencies]
rust-version = { version = "0.1", default-features = false }
Commit count: 0

cargo fmt