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