4 releases (breaking)

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

#95 in Build Utils

46 downloads per month

CC0 license

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.


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

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:

rust-version = { version = "0.1", default-features = false }


~222K SLoC