1 2 3 4 5 6 7 8 9 10
use anyhow::Result; use vergen_gitcl::{Emitter, GitclBuilder}; fn main() -> Result<()> { // Emit the instructions Emitter::default() .add_instructions(&GitclBuilder::all_git()?)? .emit()?; Ok(()) }