Crate rust_version [−] [src]
Reexports
pub use self::Channel::*; |
Structs
BetaNum |
Version for a Rust beta. This is either "beta" or "beta.N", where N is an integer. |
Commit |
Git commit from the rust-lang/rust repository. |
Date |
Rust release date. |
Release |
Rust release. |
Version |
Rust version. |
Enums
Channel |
Rust version channel. |
ParseBetaError |
Error encountered when parsing a |
ParseChannelError |
Error encountered when parsing a |
ParseCommitError |
Error encountered when parsing a |
ParseDateError |
Error encountered when parsing a |
ParseReleaseError |
Error encountered when parsing a |
ParseVersionError |
Error encountered when parsing a |
Functions
freshen_git_cache |
Refreshes the cache associated with the commit parser. |
installed_version |
Gets the version string from an installed rustc. |
manifest_version |
Gets the version string from a manifest listed at https://static.rust-lang.org/dist/index.html. |