Function pkg::author [] [src]

pub fn author() -> &'static str

Returns the crate author.

Assumption

The crate only has the one author, otherwise this will return the list of authors separated by semicolons.

Examples

extern crate pkg;

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