* Minor tweak at how [export.exclude] is handled to allow excluding
generic instantiations in C mode. ([#501](https://github.com/eqrion/cbindgen/issues/501))
* Documented cpp_compat option. ([#496](https://github.com/eqrion/cbindgen/issues/496))
* Fixed a panic when parsing associated constants for a built-in type. ([#494](https://github.com/eqrion/cbindgen/issues/494))
0.13.2
* Constants now have suitable documentation. ([#471](https://github.com/eqrion/cbindgen/issues/471))
* Fixed some C warnings by emitting void when there are no arguments. ([#470](https://github.com/eqrion/cbindgen/issues/470))
* Avoids reading cargo.toml when not needed, which can cause panics in workspace situations.
* Only write `default` cases if the switch is not exhaustive. ([#475](https://github.com/eqrion/cbindgen/issues/475))
* Some warnings have been refined. ([#477](https://github.com/eqrion/cbindgen/issues/477))
* Code generation for static arrays has been fixed. ([#479](https://github.com/eqrion/cbindgen/issues/479))
* Opt-in support for constexpr in constants. ([#481](https://github.com/eqrion/cbindgen/issues/481))
* Fix C code generation and some warnings when extremely large constants are used. ([#490](https://github.com/eqrion/cbindgen/issues/490))
* Proper escaping of enum variants and fields. ([#483](https://github.com/eqrion/cbindgen/issues/483))
* Added support for RefCell (as an opaque type) and Cell. ([#489](https://github.com/eqrion/cbindgen/issues/489))
0.13.1
* Support `#[cfg]` on individual enum variants. ([#469](https://github.com/eqrion/cbindgen/issues/469))
0.13.0
* Support 'swift_name' attributes on generated functions ([#449](https://github.com/eqrion/cbindgen/issues/449))
* Add [export.pre_body] to config ([#452](https://github.com/eqrion/cbindgen/issues/452))
* Handle new line in doc attribute ([#454](https://github.com/eqrion/cbindgen/issues/454))
* Add support for `Self` in tagged enums, structs and unions ([#455](https://github.com/eqrion/cbindgen/issues/455), [#455](https://github.com/eqrion/cbindgen/issues/455), [#456](https://github.com/eqrion/cbindgen/issues/456))
* Make sentinel variant respect regular config ([#459](https://github.com/eqrion/cbindgen/issues/459))
* Fix layout of tagged enums with size under some configurations ([#463](https://github.com/eqrion/cbindgen/issues/463))
* Add an option to allow configuring the order of function names in generated headers ([#466](https://github.com/eqrion/cbindgen/issues/466))
0.12.2
* Fixed version detection with lockfile v2. https://github.com/eqrion/cbindgen/pull/446
* Added support for export_name on functions. https://github.com/eqrion/cbindgen/pull/447
0.12.1
* Added support for #[repr*64)] on enums. https://github.com/eqrion/cbindgen/pull/441
* Added support to generate plain enums instead of enum classes for C++. https://github.com/eqrion/cbindgen/pull/443
* Fixed dependency resolution with lockfile v2. https://github.com/eqrion/cbindgen/pull/438
0.12.0
* Added support for #[repr(align)] and #[repr(packed)] on structs and unions. https://github.com/eqrion/cbindgen/pull/431
* Added support to generate copy-assignment operators for enums. https://github.com/eqrion/cbindgen/pull/434
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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on cbindgen to permit the latest version.
Changelog
Sourced from cbindgen's changelog.
Commits
4a38a48
Release 0.14.039bae60
Generate test object files in a temporary directory instead of in-treeec1631f
Allow excluding monomorph structs in C mode.6fd2450
Add missing cpp_compat documentation.c265a75
parser: Don't panic when finding associated constants to a primitive.17d7aad
Release v0.13.2fc577f2
support large integer constants (#490)6218281
updated constant_big test case with large negative numbers8638652
ran rustfmt7101465
avoid gcc warning by appending ULL suffix to integer literals that are too bi...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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)