2019-08-29 15:44:46 +00:00
|
|
|
use vergen::{ConstantsFlags, generate_cargo_keys};
|
|
|
|
|
|
|
|
const ERROR_MSG: &str = "Failed to generate metadata files";
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
generate_cargo_keys(ConstantsFlags::SHA_SHORT).expect(ERROR_MSG);
|
|
|
|
|
2019-12-16 20:46:39 +00:00
|
|
|
build_script_utils::rerun_if_git_head_changed();
|
2019-08-29 15:44:46 +00:00
|
|
|
}
|