version

Macro version 

Source
macro_rules! version {
    () => { ... };
}
Expand description

Get the full version information of your package in a constant expression.

Evaluates to a Version object.

ยงExample

use const_pkg_version::Version;
const VERSION_FULL: Version = const_pkg_version::version!();