saekawa/build.rs

13 lines
305 B
Rust
Raw Normal View History

2024-06-26 18:08:21 +02:00
use snafu::{prelude::*, Whatever};
use vergen::EmitBuilder;
pub fn main() -> Result<(), Whatever> {
EmitBuilder::builder()
.build_timestamp()
.git_sha(false)
.git_branch()
.emit()
.with_whatever_context(|_| "Could not emit version information")?;
Ok(())
}