Crate pkg [−] [src]
A small utility library for binary applications.
Examples
#[macro_use] extern crate pkg; fn main() { println!("{} {}\n{}", pkg_name!(), pkg_version!(), pkg_description!()); }
Cargo features
This crate provides one cargo feature:
nightly
: This uses language features only available on the nightly release channel for more optimal implementations.
Macros
pkg_authors |
Macro for getting the crate |
pkg_description |
Macro for getting the crate |
pkg_homepage |
Macro for getting the crate |
pkg_name |
Macro for getting the crate |
pkg_version |
Macro for getting the crate |
Functions
bin_name |
Returns the name of the binary file. |