Function pkg::name [] [src]

pub fn name() -> &'static str

Returns the crate name.

Examples

extern crate pkg;

fn main() {
    println!("The crate name is {}", pkg::name());
}