* 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))
* Update --pretty=expanded to -Zunpretty=expanded. ([#706](https://github.com/eqrion/cbindgen/issues/706))
0.19.0
* Simplify types in generics ([#663](https://github.com/eqrion/cbindgen/issues/663))
* Use --profile=check for macro expansion ([#671](https://github.com/eqrion/cbindgen/issues/671))
* Use exported name to prefix enum variants ([#672](https://github.com/eqrion/cbindgen/issues/672))
* Fix path attribute handling in inline submodules ([#679](https://github.com/eqrion/cbindgen/issues/679))
* Fix a stack overflow with some recursive typedefs ([#680](https://github.com/eqrion/cbindgen/issues/680))
0.18.0
* Simplify types in nested types such as pointed-to types and function signatures ([#661](https://github.com/eqrion/cbindgen/issues/661))
0.17.0
* Add with_parse_extra_bindings to builder. ([#645](https://github.com/eqrion/cbindgen/issues/645))
* Support NonZero and fix incorrect simplification of Option<ptr> into ptr. ([#647](https://github.com/eqrion/cbindgen/issues/647))
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
798cfab
v0.23.0305ccfe
constant: Make const.allow_constexpr default to true.15e1131
constant: Allow more constexpr constants.a0ab624
Update syn dependency to at least 1.0.888cfd457
Fix #7538604b2c
v0.22.05b418d9
Support rename rule for union body members.770f352
constant: Add support for other expressions WebRender uses.882af0b
constant: Add support for associated constant expressions.20ddfff
Fix regression in CamelCase rename rule (should be lowerCamelCase)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)