Function cbindgen::generate
[−]
[src]
pub fn generate(crate_dir: &str) -> Result<Bindings, String>
A utility function for build scripts to generate bindings for a crate, using
a cbindgen.toml
if it exists.