Function vergen::gen[][src]

pub fn gen(flags: ConstantsFlags) -> Result<(), Error>

Generate the cargo: instructions

Errors

Any generated errors will be wrapped in vergen::Error

Usage

// Generate the 'cargo:' instruction output
gen(ConstantsFlags::all()).expect("Unable to generate the cargo keys!");