[][src]Macro pkg_version::pkg_version_minor

macro_rules! pkg_version_minor {
    #[proc_macro_hack] => { ... };
}

Expands to the minor version number of the Cargo package, as an integer literal.

The resulting integer literal is unsuffixed, meaning that it does not use a type suffix like 1u32. This means that it can be used to initialize a variable of any integer type, as long as the version number fits. If the number doesn't fit, the compiler will report an error.