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 BetaNum.

ParseChannelError

Error encountered when parsing a Channel.

ParseCommitError

Error encountered when parsing a Commit.

ParseDateError

Error encountered when parsing a Date.

ParseReleaseError

Error encountered when parsing a Release.

ParseVersionError

Error encountered when parsing a Version.

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.