use std::error::Error; use vergen_git2::{BuildBuilder, Emitter, Git2Builder}; pub fn main() -> Result<(), Box<dyn Error>> { Emitter::new() .add_instructions(&Git2Builder::all_git()?)? .add_instructions(&BuildBuilder::all_build()?)? .emit()?; Ok(()) }