mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-22 00:01:43 +03:00
12 lines
237 B
Rust
12 lines
237 B
Rust
use std::error::Error;
|
|
|
|
use vergen_gitcl::{Emitter, GitclBuilder};
|
|
|
|
fn main() -> Result<(), Box<dyn Error>> {
|
|
Emitter::default()
|
|
.add_instructions(&GitclBuilder::default().commit_date(true).sha(true).build()?)?
|
|
.emit()?;
|
|
|
|
Ok(())
|
|
}
|