intiface-cli 8.0.0

Command Line Interface frontend for the Buttplug sex toy control library
1
2
3
4
5
6
7
8
9
10
11
12
use vergen::{generate_cargo_keys, ConstantsFlags};

fn main() {
  prost_build::compile_protos(&["src/IntifaceGui.proto"], &["src/"]).unwrap();
  // Setup the flags, toggling off the 'SEMVER_FROM_CARGO_PKG' flag
  let mut flags = ConstantsFlags::all();
  flags.toggle(ConstantsFlags::SEMVER_FROM_CARGO_PKG);
  flags.toggle(ConstantsFlags::REBUILD_ON_HEAD_CHANGE);

  // Generate the 'cargo:' key output
  generate_cargo_keys(flags).expect("Unable to generate the cargo keys!");
}