mirror of
https://github.com/beerpiss/saekawa.git
synced 2024-11-30 18:24:30 +01:00
13 lines
305 B
Rust
13 lines
305 B
Rust
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(())
|
|
}
|