4 releases (breaking)

Uses old Rust 2015

0.4.0 Oct 30, 2017
0.3.0 Sep 7, 2017
0.2.0 Sep 4, 2017
0.1.0 Sep 4, 2017

#169 in #commit

CC0 license

92KB
2.5K SLoC

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 }

Dependencies

~11–24MB
~352K SLoC