1 2 3 4 5 6 7 8 9
extern crate kern; use kern::version; pub static CARGO_TOML: &'static str = include_str!("../Cargo.toml"); pub fn print_version() { println!("Filers {} (c) 2019 Lennart Heinrich", version(CARGO_TOML).1); }
1 2 3 4 5 6 7 8 9
extern crate kern; use kern::version; pub static CARGO_TOML: &'static str = include_str!("../Cargo.toml"); pub fn print_version() { println!("Filers {} (c) 2019 Lennart Heinrich", version(CARGO_TOML).1); }