Macro pkg::pkg_version [] [src]

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

Macro for getting the crate version from the cargo manifest.

Examples

#[macro_use]
extern crate pkg;

fn main() {
    println!("The crate version is {}", pkg_version!());
}