Function pkg::version [] [src]

pub fn version() -> &'static str

Returns the crate version.

Examples

extern crate pkg;

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