Skip to content

seppo0010/rustc-version-runtime-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.*"

Example

extern crate rustc_version_runtime;
use rustc_version_runtime::version;

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages