- Subclass improvements:
- Allow subclassing of C++ classes in namespaces.
- Support arbitrary constructors for superclasses.
- Simplify subclass default traits.
- Some rejigging of the directives/macro names. Breaking change but only if you already used the subclass support.
- Allow unit structs to be subclasses.
- Improve specificity of error messages around missing dependencies.
- Provide the option to suppress system headers.
- Provide an autodiscovery mode which attempts to spot use of
ffi::
to avoid any allowlist at all. - Provide
#[extern_rust_fun]
and#[extern_rust_type]
attribute macros to allow exporting of arbitrary Rust code to C++. - Bump bindgen version.
- Make compatible with
resolver = 2
. - Breaking change Deprecated some of the
builder
methods and replaced them with, err, a Builder builder.