Include git rev in the version number

This commit is contained in:
bjorn3
2021-02-16 19:01:02 +01:00
parent 720da20588
commit 0693b7dade
2 changed files with 38 additions and 2 deletions

View File

@@ -121,5 +121,4 @@ mod souper_harvest;
pub use crate::result::{CodegenError, CodegenResult};
/// Version number of this crate.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
include!(concat!(env!("OUT_DIR"), "/version.rs"));