Macro get_version
Source macro_rules! get_version {
() => { ... };
}
Expand description
Generate a version string with git info.
Returns format: “0.1.0+abc12345” for release builds, or
“0.1.0-local+abc12345.dirty” for local dirty builds.
§Example
ⓘuse thru_base::get_version;
let version: &'static str = get_version!();