[go: up one dir, main page]

Skip to content

Releases: mozilla/cbindgen

0.26.0

13 Sep 19:46
703b53c
Compare
Choose a tag to compare
  • 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

04 Sep 17:44
Compare
Choose a tag to compare
  * 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

09 Jun 20:40
f43ccfc
Compare
Choose a tag to compare
  • Make struct expressions correctly generated through typedefs (#768).

v0.24.2

07 Jun 19:40
3d06ae1
Compare
Choose a tag to compare
  • Make bitfield operators use explicit constructors.

v0.24.1

07 Jun 17:41
Compare
Choose a tag to compare
  • Add support for unary negation (#765).
  • Make more bitfield operators constexpr (#765).

v0.24.0

07 Jun 14:24
f0d4f28
Compare
Choose a tag to compare
  • Basic const generic support (#759, #760 #762).
  • Suffixes on integer literals are now honored to avoid narrowing (#764).

v0.23.0

21 Apr 16:51
Compare
Choose a tag to compare
  • 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

19 Apr 09:34
8604b2c
Compare
Choose a tag to compare
  • 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

25 Mar 17:56
b3de1dc
Compare
Choose a tag to compare
  • 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

29 Jul 12:33
41506d5
Compare
Choose a tag to compare
  • Add Builder::with_using_namespaces. (#688)
  • Ignore PhantomPinned. (#695)
  • Simplify Pin to T. (#697)
  • Update --pretty=expanded to -Zunpretty=expanded. (#706)