intiface-engine 2.0.1

CLI and Library frontend for the Buttplug sex toy control library
Documentation
1
2
3
4
5
6
7
8
9
10
11
use anyhow::Result;
use vergen::{vergen, Config, ShaKind};

fn main() -> Result<()> {
  let mut config = Config::default();
  // Change the SHA output to the short variant
  *config.git_mut().sha_kind_mut() = ShaKind::Short;
  // Generate the default 'cargo:' instruction output
  let _ = vergen(config);
  Ok(())
}