Show Git SHA information when printing version information (#120)

This commit is contained in:
Ulyssa
2023-06-14 20:28:01 -07:00
parent a020b860dd
commit 2a573b6056
5 changed files with 38 additions and 2 deletions

7
build.rs Normal file
View File

@@ -0,0 +1,7 @@
use std::error::Error;
use vergen::EmitBuilder;
fn main() -> Result<(), Box<dyn Error>> {
EmitBuilder::builder().git_sha(true).emit()?;
Ok(())
}