Crates.io | rust-version |
lib.rs | rust-version |
version | 0.4.0 |
source | src |
created_at | 2017-09-04 18:32:22.460069 |
updated_at | 2017-10-30 23:44:02.648469 |
description | Crate for parsing Rust versions. |
homepage | |
repository | https://github.com/clarcharr/rust-version |
max_upload_size | |
id | 30544 |
size | 98,338 |
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.
[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 }