macro_rules! crate_name {
    () => { ... };
}
Expand description

Allows you to pull the name from your Cargo.toml at compile time.

Examples

let m = App::new(crate_name!())
            .get_matches();