* 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))
* Deal with name conflicts correctly in declaration type resolution. ([#651](https://github.com/eqrion/cbindgen/issues/651))
* Support pointers to ZSTs. ([#656](https://github.com/eqrion/cbindgen/issues/656))
0.16.0
* Remove artificial restriction on lifetime parameters on enums ([#604](https://github.com/eqrion/cbindgen/issues/604))
* Add an option for converting usize/isize into size_t/ptrdiff_t. ([#606](https://github.com/eqrion/cbindgen/issues/606))
* Allow controlling the cargo profile used for expansion. ([#607](https://github.com/eqrion/cbindgen/issues/607))
* Support wider range of expressions in enum discriminants ([#614](https://github.com/eqrion/cbindgen/issues/614))
* Support generation of Cython bindings ([#590](https://github.com/eqrion/cbindgen/issues/590))
* Fixed some issues with style=tag and recursive structs ([#615](https://github.com/eqrion/cbindgen/issues/615))
* Default C style to Both (as specified in docs) ([#615](https://github.com/eqrion/cbindgen/issues/615))
* Fix resolution of path dependencies from certain modules. ([#629](https://github.com/eqrion/cbindgen/issues/629))
* Support inlined definitions for tuple variants with a single field in C ([#631](https://github.com/eqrion/cbindgen/issues/631))
Thanks to all the awesome contributors that contributed to this release.
0.15.0
* Allow customizing mangling of generic parameters in C ([#575](https://github.com/eqrion/cbindgen/issues/575))
* Box<T> simplifies to T* in C (4ce324c)
* ManuallyDrop<T> and MaybeUninit<T> simplify to T in C, and are opaque in C++ (0076a17)
* C++ supports a derive-ostream annotation to derive serialization of structs, unions and enums ([#582](https://github.com/eqrion/cbindgen/issues/582))
* Large character constants have been fixed on Windows ([#586](https://github.com/eqrion/cbindgen/issues/586))
* Constants are now generated for typedefs, etc ([#589](https://github.com/eqrion/cbindgen/issues/589))
* The `sort_by` configuration option has been made to work for constants ([#587](https://github.com/eqrion/cbindgen/issues/587))
* Default sort order is source order now (sort_by = "None"), and can be changed by the above option ([#587](https://github.com/eqrion/cbindgen/issues/587))
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Coverage remained the same at 98.997% when pulling f3bfe4e2000f64b14350dc6f59cff06ee906db50 on dependabot/cargo/cbindgen-0.19.0 into 74f534ac9862d0cddbe3ff7443c7a1c9ef0cf6a2 on master.
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
d9e490c
v0.19.0a9af0ad
ir: Tweak monomorphization to instantiate recursively after inserting to the ...52de917
parser: Fix handling of #[path] attributes inside inline submodules.54dfcf8
Fix new clippy lint clippy::wrong-self-conventionccea33e
tests: check renaming enum affects variant prefix5a79d76
bindgen: use exported name for enum prefix93eed3a
union: Fix clippy lint.2b1907b
use --profile=check for macro expansion, fixes #457aaef260
ir: Simplify types in generics.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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)