Releases: mozilla/cbindgen
Releases · mozilla/cbindgen
0.26.0
- Fix swapping of
>>=
and <<=
in constants.
- Add support for #[deprecated] (#860).
- Built-in support for bitflags 2.0.
- Support for "C-unwind" ABI.
- Generate bindings for non-public extern items if they are #[no_mangle].
v0.25.0
* Re-release of yanked 0.24.6 as a major release
* Update MSRV to 1.57
* Support variadic arguments (`...`) (#805)
* Add --depfile option (#820)
* Breaking changes: The `Config` struct now has a private member.
v0.24.3
- Make struct expressions correctly generated through typedefs (#768).
v0.24.2
- Make bitfield operators use explicit constructors.
v0.24.1
- Add support for unary negation (#765).
- Make more bitfield operators constexpr (#765).
v0.24.0
- Basic const generic support (#759, #760 #762).
- Suffixes on integer literals are now honored to avoid narrowing (#764).
v0.23.0
- Better support for constexpr. (#756)
- constexpr is now enabled by default in C++ mode. You can use const.allow_constexpr=false to revert to previous behavior. (#756)
- Minimum syn version no longer parses old rust code. (#754)
v0.22.0
- Support rename rule for union body members (#751).
- constant: Add support for associated constant expressions (#752).
- Fix regression in CamelCase rename rule (should be lowerCamelCase) (#750).
- enumeration: simplify standard types in variants (#749).
- Avoid generating and writing bindings when called recursively (#747).
- Cython: Omit per-variant tags in unions generated for Rust enums (#748).
- Update various dependencies.
v0.21.0
- Update MSRV to 1.54.0
- Update clap to 3.1.
- Update heck to 0.4.0
- unraw identifiers
- Honor documentation_length in Cython.
- Add documentation_style to with short and full options
- Map RawFd to Int
- Respect remove_underscores config when prefixing name to enum
v0.20.0
- Add Builder::with_using_namespaces. (#688)
- Ignore PhantomPinned. (#695)
- Simplify Pin to T. (#697)
- Update --pretty=expanded to -Zunpretty=expanded. (#706)