Skip to content

build(deps): Update Cargo#31

Open
vaccel-bot[bot] wants to merge 1 commit into
mainfrom
renovate/cargo
Open

build(deps): Update Cargo#31
vaccel-bot[bot] wants to merge 1 commit into
mainfrom
renovate/cargo

Conversation

@vaccel-bot

@vaccel-bot vaccel-bot Bot commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
bindgen (source) build-dependencies minor 0.690.72
cbindgen build-dependencies minor 0.270.29

Release Notes

rust-lang/rust-bindgen (bindgen)

v0.72.1

Compare Source

This is just 0.72.0 with a fix for a breaking change in clang (see #​3264 and related).

Full Changelog: rust-lang/rust-bindgen@v0.72.0...v0.72.1

v0.72.0

Compare Source

Added

  • Report enums in ParseCallbacks.
  • Refactor item_name method to use ItemInfo struct.
  • Add callback to modify contents of macro
  • Discovery callbacks for functions and methods.
  • Options to generate uncallable C++ functions.
  • Provide option to get real virtual fn receiver.

Changed

  • Generate bindings compatible with current rustc version by default.

Removed

  • Remove unused which-rustfmt feature
  • Remove warning for opaque forward declarations

Fixed

  • More sophisticated handling of the triple in rust_to_clang_target
  • Rename *-apple-ios-sim to ...simulator
  • Fix OpenCL vectors that use "ext_vector_type".
  • Fix union layout when it contains 0 sized array.
  • Avoid crashing on variadic unions without layout information.
  • Distinguish char16_t.
  • Fix bugs in --clang-macro-fallback
  • Add missed unsafe in the raw_set_bit function
  • Use link_name for dynamic library loading
  • Add "gen" to list of rust keywords in 'rust_mangle'
  • Use appropriate rustfmt --format ... param

v0.71.1

Compare Source

Fixed

  • Fix --version and --generate-shell-completions (#​3040)

v0.71.0

Compare Source

Added

  • Add the ParseCallbacks::new_item_found callback to expose the original and final name of structs, unions and enums (#​2658).
  • Add the field_type_name field to FieldInfo to expose the name of the type of a field (#​2863)
  • Add support for custom attributes with the --with-attribute-custom flag (#​2866)
  • Allow setting --rust-target to any Rust version supported by bindgen (#​2993)
  • Use c-string literals if the --generate-cstr flag is used for Rust targets after 1.77 under the 2021 edition (#​2996)
  • Add the --rust-edition flag which allows to select which Rust edition to target. (#​3002, #​3013)
  • Use unsafe extern instead of extern in blocks for any Rust target after 1.82. (#​3015)

Changed

  • The --wrap-static-fns related options no longer require the experimental feature or flag (#​2928)
  • Use the Display implementation instead of the Debug one for BindgenError in bindgen-cli (#​3005)

Removed

  • Dropped support for any Clang versions strictly lower than 9.0 (#​2932)
  • Dropped support for any Rust version strictly lower than 1.33 (#​2993)

Fixed

  • Represent opaque types in a FFI-safe way (#​2880)
  • Use the underlying type of any atomic type instead of panicking (#​2920)
  • Use the right characters for newlines on windows (#​2923)
  • Inlined namespaces are properly recognized now (#​2950)
  • Unsafe calls to libloading are now wrapped in unsafe blocks when using dynamic loading (#​2961)
  • The ParseCallbacks::field_visibility callback is now called for newtypes as well (#​2967)
  • Gate the use of the addr_of and addr_of_mut macros under the 1.51 rust version (#​2988)

v0.70.1

Compare Source

Added

Changed

Removed

Fixed

  • Fix regression where the const layout tests were triggering the unnecessary_operation and identity_op clippy warnings.

Security

v0.70.0

Compare Source

Added

  • Add target mappings for riscv64imac and riscv32imafc.
  • Add a complex macro fallback API (#​2779).
  • Add option to use DST structs for flexible arrays (--flexarray-dst, #​2772).
  • Add option to dynamically load variables (#​2812).
  • Add option in CLI to use rustified non-exhaustive enums (--rustified-non-exhaustive-enum, #​2847).
  • Add field_type_name to FieldInfo.

Changed

  • Remove which and lazy-static dependencies (#​2809, #​2817).
  • Generate compile-time layout tests (#​2787).
  • Print bindgen-cli errors to stderr instead of stdout (#​2840)

Removed

Fixed

  • Fix --formatter=prettyplease not working in bindgen-cli by adding prettyplease feature and
    enabling it by default for bindgen-cli (#​2789) .
  • Fix --allowlist-item so anonymous enums are no longer ignored (#​2827).
  • Use clang_getFileLocation instead of clang_getSpellingLocation to fix clang-trunk (#​2824).
  • Fix generated constants: f64::INFINITY, f64::NEG_ INFINITY, f64::NAN (#​2854).

Security

mozilla/cbindgen (cbindgen)

v0.29.3

Compare Source

  • Expose the line_endings config option to use with the builder
    * Fix doc attribute parsing to properly handle block comments
    * Check for CMSE ABI's as well
    * ci: Add a meta job to block the merge queue on it.
    * Allow pub access to ReprType fields
    * In C23 mode, define sized enums as enums rather than typedefs.

v0.29.2

Compare Source

  • Request serde's std feature to avoid issues with newer toml versions.

v0.29.1

Compare Source

  • cf13c2b enum: Track dependencies properly in enumerations.
    * 307d1e9 constant: Handle cfg in associated constants.
    * 0902d02 Remove "display" feature from the toml crate
    * 9068410 Fix incorrect detection of duplicated constants
    * 451e768 docs: Correct after_include type in example config (fix)
    * aff68c6 cargo update
    * 09666f6 Update toml to 0.9

v0.29.0

Compare Source

  • 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

v0.28.0

Compare Source

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

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

| datasource | package  | from   | to     |
| ---------- | -------- | ------ | ------ |
| crate      | bindgen  | 0.69.5 | 0.72.1 |
| crate      | cbindgen | 0.27.0 | 0.29.2 |


Signed-off-by: vaccel-bot[bot] <175908213+vaccel-bot[bot]@users.noreply.github.com>
@vaccel-bot vaccel-bot Bot added dependencies Pull requests that update a dependency file cargo labels Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cargo dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants