Hexbear is the engine that powers Chapochat. It is a customization of the Lemmy project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
507 B

use vergen::{Config, SemverKind, ShaKind, TimestampKind, vergen};
fn main() {
// Setup the flags, toggling off the 'SEMVER_FROM_CARGO_PKG' flag
let mut config = Config::default();
*config.build_mut().kind_mut() = TimestampKind::All;
*config.build_mut().semver_mut() = false;
*config.git_mut().sha_kind_mut() = ShaKind::Short;
*config.git_mut().semver_kind_mut() = SemverKind::Lightweight;
// Generate the 'cargo:' key output
vergen(config).expect("Unable to generate the cargo keys!");
}