| Crates.io | rustc_version_runtime |
| lib.rs | rustc_version_runtime |
| version | 0.3.0 |
| created_at | 2015-08-24 02:52:47.781647+00 |
| updated_at | 2023-10-25 13:28:58.663604+00 |
| description | A library for querying the version of the rustc compiler used in runtime |
| homepage | |
| repository | https://github.com/seppo0010/rustc-version-runtime-rs |
| max_upload_size | |
| id | 2908 |
| size | 8,701 |
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.
rustc-version-runtime-rs is available on crates.io. Add the following dependency to your Cargo manifest:
[dependencies]
rustc_version_runtime = "0.1.*"
extern crate rustc_version_runtime;
use rustc_version_runtime::version;
println!("This was compiled using {:?}", version());