Function cbindgen::generate [−][src]
pub fn generate<P: AsRef<Path>>(crate_dir: P) -> Result<Bindings, Error>
Expand description
A utility function for build scripts to generate bindings for a crate, using
a cbindgen.toml
if it exists.