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
No known key found for this signature in database
GPG key ID: 1B3965A3D18B9B64
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(())
}