mirror of
https://github.com/beerpiss/saekawa.git
synced 2024-12-18 02:05:52 +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(())
|
||
|
}
|