1 2 3 4 5 6
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); pub fn get_version() -> &'static str { VERSION }