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.

13 lines
378 B

  1. // build.rs
  2. extern crate vergen;
  3. use vergen::{generate_cargo_keys, ConstantsFlags};
  4. fn main() {
  5. // Setup the flags, toggling off the 'SEMVER_FROM_CARGO_PKG' flag
  6. let mut flags = ConstantsFlags::all();
  7. flags.toggle(ConstantsFlags::SEMVER_FROM_CARGO_PKG);
  8. // Generate the 'cargo:' key output
  9. generate_cargo_keys(flags).expect("Unable to generate the cargo keys!");
  10. }