0.3.0 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseSimple 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());