Skip to content

chore(deps): Update cbindgen requirement from 0.28 to 0.29#854

Merged
zshipko merged 1 commit intomainfrom
dependabot/cargo/cbindgen-0.29
May 27, 2025
Merged

chore(deps): Update cbindgen requirement from 0.28 to 0.29#854
zshipko merged 1 commit intomainfrom
dependabot/cargo/cbindgen-0.29

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github May 26, 2025

Updates the requirements on cbindgen to permit the latest version.

Release notes

Sourced from cbindgen's releases.

0.29.0

  • Support no-export annotation for statics and functions.
  • Fixed conditional fields of constexpr literal structs
  • Add rename rule for generated associated constant
  • Upgrade heck to 0.5
  • Add support for an optional nullable attribute
  • docs.md: Fix deprecated_with_note and deprecated_variant_with_note being spelled as 'notes'
  • Fix generic with "void" default
  • Fixed error generation of structures using the keyword as inside arrays
  • Added test for unsafe(no_mangle) attribute
  • Fixed handling of trait methods containing the unsafe attribute
  • Rename -Zparse-only

0.28.0

0.27.0

  • Revert: The Config struct now has a private member.
  • Allow users to specify a crate version for bindings generation (#901).
  • Update MSRV to 1.74 (#912, #987).
  • Support #[deprecated] on enum variants (#933).
  • Support integrating the package_version information in a header file comment (#939).
  • Add a language backend (#942).
  • Support generics with defaulted args (#959).
  • Add VaList compatibility (#970).

0.26.0

  • 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].
Changelog

Sourced from cbindgen's changelog.

0.29.0

  * Support no-export annotation for statics and functions.
  * Fixed conditional fields of constexpr literal structs
  * Add rename rule for generated associated constant
  * Upgrade heck to 0.5
  * Add support for an optional nullable attribute
  * docs.md: Fix deprecated_with_note and deprecated_variant_with_note being spelled as 'notes'
  * Fix generic with "void" default
  * Fixed error generation of structures using the keyword as inside arrays
  * Added test for unsafe(no_mangle) attribute
  * Fixed handling of trait methods containing the unsafe attribute
  * Rename -Zparse-only

0.28.0

  * Parse unsafe attributes in https://github.com/mozilla/cbindgen/pull/1020
  * Fix local override of enum prefix-with-name by jsgf in https://github.com/mozilla/cbindgen/pull/1006
  * Add rename-all=prefix in https://github.com/mozilla/cbindgen/pull/1021
  * ir: add support for UnsafeCell and SyncUnsafeCell by alekitto in https://github.com/mozilla/cbindgen/pull/1003
  * Implement mangling for arrays in https://github.com/mozilla/cbindgen/pull/1022
  * Fix: Ignore `CARGO_BUILD_TARGET` in tests by bryango in https://github.com/mozilla/cbindgen/pull/1010
  * Newline for each field for constexpr field constants by youknowone in https://github.com/mozilla/cbindgen/pull/988
  * Fix clippy warnings by youknowone in https://github.com/mozilla/cbindgen/pull/1026
  * Add aarch64/arm64 to CI by NickeZ in https://github.com/mozilla/cbindgen/pull/1036
  * Add `unstable_ir` feature flag that makes the ir pub by heesooy in https://github.com/mozilla/cbindgen/pull/1011
  * Support generated a symbols file by TheElectronWill in https://github.com/mozilla/cbindgen/pull/916

0.27.0

  * Revert: The `Config` struct now has a private member.
  * Allow users to specify a crate version for bindings generation ([#901](https://github.com/mozilla/cbindgen/issues/901)).
  * Update MSRV to 1.74 ([#912](https://github.com/mozilla/cbindgen/issues/912), [#987](https://github.com/mozilla/cbindgen/issues/987)).
  * Support #[deprecated] on enum variants ([#933](https://github.com/mozilla/cbindgen/issues/933)).
  * Support integrating the package_version information in a header file comment ([#939](https://github.com/mozilla/cbindgen/issues/939)).
  * Add a language backend ([#942](https://github.com/mozilla/cbindgen/issues/942)).
  * Support generics with defaulted args ([#959](https://github.com/mozilla/cbindgen/issues/959)).
  * Add `VaList` compatibility ([#970](https://github.com/mozilla/cbindgen/issues/970)).

0.26.0

  * Fix swapping of `>>=` and `<<=` in constants.
  * Add support for #[deprecated] ([#860](https://github.com/mozilla/cbindgen/issues/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].

0.25.0

  * Re-release of yanked 0.24.6 as a major release

... (truncated)

Commits
  • 8021542 Release 0.29.0
  • f3a0ecd Support no-export annotation for statics and functions.
  • 14fa2d0 conditional fields of constexpr literal structs
  • 021f3f3 Add LiteralStructField
  • 4b2396d Github action: Add aarch64 to deploy
  • 2320ac4 Add rename rule for generated associated constant
  • 5ac9dc0 Upgrade heck to 0.5
  • 9f9da30 Add support for an optional nullable attribute
  • 36b9f0d docs.md: Fix deprecated_with_note and deprecated_variant_with_note being spel...
  • 0328601 Fix generic with "void" default
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 26, 2025
@dependabot dependabot bot requested a review from zshipko as a code owner May 26, 2025 00:59
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 26, 2025
@zshipko zshipko merged commit 9415aaa into main May 27, 2025
5 checks passed
@zshipko zshipko deleted the dependabot/cargo/cbindgen-0.29 branch May 27, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant