Macro pkg::pkg_name
[−]
[src]
macro_rules! pkg_name { () => { ... }; }
Macro for getting the crate name
from the cargo manifest.
Examples
#[macro_use] extern crate pkg; fn main() { println!("The crate name is {}", pkg_name!()); }