* Make struct expressions correctly generated through typedefs ([#768](https://github.com/eqrion/cbindgen/issues/768)).
0.24.2
* Make bitfield operators use explicit constructors.
0.24.1
* Add support for unary negation ([#765](https://github.com/eqrion/cbindgen/issues/765)).
* Make more bitfield operators constexpr ([#765](https://github.com/eqrion/cbindgen/issues/765)).
0.24.0
* Basic const generic support ([#759](https://github.com/eqrion/cbindgen/issues/759), [#760](https://github.com/eqrion/cbindgen/issues/760) [#762](https://github.com/eqrion/cbindgen/issues/762)).
* Suffixes on integer literals are now honored to avoid narrowing ([#764](https://github.com/eqrion/cbindgen/issues/764)).
0.23.0
* Better support for constexpr. ([#756](https://github.com/eqrion/cbindgen/issues/756))
* constexpr is now enabled by default in C++ mode. You can use const.allow_constexpr=false to revert to previous behavior. ([#756](https://github.com/eqrion/cbindgen/issues/756))
* Minimum syn version no longer parses old rust code. ([#754](https://github.com/eqrion/cbindgen/issues/754))
0.22.0
* Support rename rule for union body members ([#751](https://github.com/eqrion/cbindgen/issues/751)).
* constant: Add support for associated constant expressions ([#752](https://github.com/eqrion/cbindgen/issues/752)).
* Fix regression in CamelCase rename rule (should be lowerCamelCase) ([#750](https://github.com/eqrion/cbindgen/issues/750)).
* enumeration: simplify standard types in variants ([#749](https://github.com/eqrion/cbindgen/issues/749)).
* Avoid generating and writing bindings when called recursively ([#747](https://github.com/eqrion/cbindgen/issues/747)).
* Cython: Omit per-variant tags in unions generated for Rust enums ([#748](https://github.com/eqrion/cbindgen/issues/748)).
* Update various dependencies.
0.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
0.20.0
* Add Builder::with_using_namespaces. ([#688](https://github.com/eqrion/cbindgen/issues/688))
* Ignore PhantomPinned. ([#695](https://github.com/eqrion/cbindgen/issues/695))
* Simplify Pin<T> to T. ([#697](https://github.com/eqrion/cbindgen/issues/697))
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on cbindgen to permit the latest version.
Release notes
Sourced from cbindgen's releases.
Changelog
Sourced from cbindgen's changelog.
... (truncated)
Commits
f43ccfc
Bump version.116a18c
tests: Add a test for struct constants going through typedefs.fc98189
bindings: Peel through typedefs for struct constant generation.4b30c56
Rustfmt recent changes.3d06ae1
Version bump.80da604
bitflags: Be explicit in binary operators and such.9855f90
Version bump.5da3715
constant: Add support for unary negation.021d09d
bitflags: Make more operations constexpr.2e2c87e
Fix changelog typo.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)