2023-04-14 23:25:19 +02:00
|
|
|
use std::error::Error;
|
|
|
|
use vergen::EmitBuilder;
|
2023-01-29 15:20:26 +01:00
|
|
|
|
2023-04-14 23:25:19 +02:00
|
|
|
fn main() -> Result<(), Box<dyn Error>> {
|
2023-01-29 15:20:26 +01:00
|
|
|
// Generate the `cargo:` instructions to fill the appropriate environment variables.
|
2023-04-14 23:25:19 +02:00
|
|
|
EmitBuilder::builder().all_build().all_git().emit()?;
|
|
|
|
|
|
|
|
Ok(())
|
2023-01-29 15:20:26 +01:00
|
|
|
}
|