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