Generate Rust bindings for C and C++ libraries.
Provide a C/C++ header file, receive Rust FFI code to call into C/C++ functions and use types defined in the header.
Builder struct for usage.
See the Users Guide for additional documentation.
A public API for more fine-grained customization of bindgen behavior.
Simple macro that forwards to assert! when using testing_only_extra_assertions.
Simple macro that forwards to assert_eq! when using testing_only_extra_assertions.
Generated Rust bindings.
Configure and generate Rust bindings for a C/C++ header.
A ParseCallbacks implementation that will act on file includes by echoing a rerun-if-changed line
Extracted Clang version data
A type used to indicate which kind of items we have to generate.
Enum for how aliases should be translated.
A helper type that represents different enum variations.
Represents the version of the Rust language to target.
Latest stable release of Rust
Strings of allowed
Construct a new
Get the major and the minor semver numbers of Clang's version