still dicking around with getting versions to appear correctly in builds

This commit is contained in:
bunnie 2022-01-31 04:12:43 +08:00
parent 4690075c40
commit 9573da00f4

View file

@ -2,8 +2,7 @@ use vergen::{ConstantsFlags, generate_cargo_keys};
fn main() {
// Setup the flags, toggling off the 'SEMVER_FROM_CARGO_PKG' flag
let mut flags = ConstantsFlags::all();
flags.toggle(ConstantsFlags::SEMVER_FROM_CARGO_PKG);
let flags = ConstantsFlags::all();
// Generate the 'cargo:' key output
generate_cargo_keys(flags).expect("Unable to generate the cargo keys!");