Macro pkg::pkg_authors [] [src]

macro_rules! pkg_authors {
    () => { ... };
}

Macro for getting the crate authors from the cargo manifest.

The resulting &str is the join of all the authors by semicolons. If there is only one author the result will be that author.

To get a slice of the authors look at the authors function.

Examples

#[macro_use]
extern crate pkg;

fn main() {
    println!("The crate authors are {}", pkg_authors!());
}