version/
version.rs

1pub fn main() {
2    let version = rustversion_detect::detect_version().unwrap();
3    println!("version: {}", version);
4}