9 lines
202 B
Rust
9 lines
202 B
Rust
|
use anyhow::Result;
|
||
|
use vergen::{Config, ShaKind, vergen};
|
||
|
|
||
|
fn main() -> Result<()> {
|
||
|
let mut config = Config::default();
|
||
|
*config.git_mut().sha_kind_mut() = ShaKind::Short;
|
||
|
vergen(config)
|
||
|
}
|