pub fn generate_with_config<P: AsRef<Path>>( crate_dir: P, config: Config, ) -> Result<Bindings, Error>
A utility function for build scripts to generate bindings for a crate with a custom config.