rustc_version_runtime 0.1.0

A library for querying the version of the rustc compiler used in runtime
docs.rs failed to build rustc_version_runtime-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: rustc_version_runtime-0.3.0

rustc-version-runtime-rs

Simple library for getting the version information of a rustc compiler in runtime.

The goal of this crate is to provide debug information to developers, not to branch application logic based on compiler version. Please, don't do that.

Getting Started

rustc-version-runtime-rs is available on crates.io. Add the following dependency to your Cargo manifest:

[dependencies]
rustc_version_runtime = "0.1.0"

Example

extern crate rustc_version_runtime;
use rustc_version_runtime::version;

println!("This was compiled using {:?}", version());