rust-lang/rust-bindgen
### [`v0.65.1`](https://togithub.com/rust-lang/rust-bindgen/blob/HEAD/CHANGELOG.md#0651)
[Compare Source](https://togithub.com/rust-lang/rust-bindgen/compare/v0.65.0...v0.65.1)
#### Fixed
- The `Builder::rustfmt_bindings` method was added back and tagged as
deprecated instead of being removed.
- Broken documentation links were fixed.
### [`v0.65.0`](https://togithub.com/rust-lang/rust-bindgen/blob/HEAD/CHANGELOG.md#0650)
[Compare Source](https://togithub.com/rust-lang/rust-bindgen/compare/v0.64.0...v0.65.0)
#### Added
- Added the `Builder::default_visibility` method and the
`--default-visibility` flag to set the default visibility of fields. ([#2338](https://togithub.com/rust-lang/rust-bindgen/issues/2338))
- Added the `--formatter` CLI flag with the values `none`, `rustfmt` and
`prettyplease` to select which tool will be used to format the bindings. The
default value is `rustfmt`. ([#2453](https://togithub.com/rust-lang/rust-bindgen/issues/2453))
- Added the `Builder::formatter` method and the `Formatter` type to select
which tool will be used to format the bindings. ([#2453](https://togithub.com/rust-lang/rust-bindgen/issues/2453))
- Added the `Builder::emit_diagnostics` method and the `--emit-diagnostics`
flag to enable emission of diagnostic messages under the `experimental`
feature. ([#2436](https://togithub.com/rust-lang/rust-bindgen/issues/2436))
- Added support for the `"efiapi"` calling convention ([#2490](https://togithub.com/rust-lang/rust-bindgen/issues/2490)).
- Added the `ParseCallbacks::read_env_var` method which runs everytime
`bindgen` reads and environment variable. ([#2400](https://togithub.com/rust-lang/rust-bindgen/issues/2400))
- Added the `ParseCallbacks::generated_link_name_override` method which allow
overriding the link name of items. ([#2425](https://togithub.com/rust-lang/rust-bindgen/issues/2425))
- Add support for C `enum`s when generating code while using the
`--wrap-static-fns` feature. ([#2415](https://togithub.com/rust-lang/rust-bindgen/issues/2415))
#### Changed
- Static functions with no arguments use `void` as their single argument
instead of having no arguments when the `--wrap-static-fns` flag is used.
([#2443](https://togithub.com/rust-lang/rust-bindgen/issues/2443))
- The source file generated when the `--wrap-static-fns` flag is enabled now
contains `#include` directives with all the input headers and all the source
code added with the `header_contents` method. ([#2447](https://togithub.com/rust-lang/rust-bindgen/issues/2447))
- The source file generated when the `--wrap-static-fns` flag no longer uses
`asm` labeling and the link name of static wrapper functions is allowed to
be mangled. ([#2448](https://togithub.com/rust-lang/rust-bindgen/issues/2448))
- The documentation of the generated `type` aliases now matches the comments
of their `typedef` counterparts instead of using the comments of the aliased
types. ([#2463](https://togithub.com/rust-lang/rust-bindgen/issues/2463))
- The `Builder::rustfmt_bindings` methods and the `--no-rustfmt-bindings` flag
are now deprecated in favor of the formatter API. ([#2453](https://togithub.com/rust-lang/rust-bindgen/issues/2453))
#### Removed
- The following deprecated flags were removed: `--use-msvc-mangling`,
`--rustfmt-bindings` and `--size_t-is-usize`. ([#2408](https://togithub.com/rust-lang/rust-bindgen/issues/2408))
- The `Bindings::emit_warnings` and `Bindings::warnings` methods were removed
in favor of `--emit-diagnostics`. ([#2436](https://togithub.com/rust-lang/rust-bindgen/issues/2436))
- Bindgen no longer generates C string constants that cannot be represented as
byte slices. ([#2487](https://togithub.com/rust-lang/rust-bindgen/issues/2487))
Configuration
📅 Schedule: 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.64.0
->0.65.1
Release Notes
rust-lang/rust-bindgen
### [`v0.65.1`](https://togithub.com/rust-lang/rust-bindgen/blob/HEAD/CHANGELOG.md#0651) [Compare Source](https://togithub.com/rust-lang/rust-bindgen/compare/v0.65.0...v0.65.1) #### Fixed - The `Builder::rustfmt_bindings` method was added back and tagged as deprecated instead of being removed. - Broken documentation links were fixed. ### [`v0.65.0`](https://togithub.com/rust-lang/rust-bindgen/blob/HEAD/CHANGELOG.md#0650) [Compare Source](https://togithub.com/rust-lang/rust-bindgen/compare/v0.64.0...v0.65.0) #### Added - Added the `Builder::default_visibility` method and the `--default-visibility` flag to set the default visibility of fields. ([#2338](https://togithub.com/rust-lang/rust-bindgen/issues/2338)) - Added the `--formatter` CLI flag with the values `none`, `rustfmt` and `prettyplease` to select which tool will be used to format the bindings. The default value is `rustfmt`. ([#2453](https://togithub.com/rust-lang/rust-bindgen/issues/2453)) - Added the `Builder::formatter` method and the `Formatter` type to select which tool will be used to format the bindings. ([#2453](https://togithub.com/rust-lang/rust-bindgen/issues/2453)) - Added the `Builder::emit_diagnostics` method and the `--emit-diagnostics` flag to enable emission of diagnostic messages under the `experimental` feature. ([#2436](https://togithub.com/rust-lang/rust-bindgen/issues/2436)) - Added support for the `"efiapi"` calling convention ([#2490](https://togithub.com/rust-lang/rust-bindgen/issues/2490)). - Added the `ParseCallbacks::read_env_var` method which runs everytime `bindgen` reads and environment variable. ([#2400](https://togithub.com/rust-lang/rust-bindgen/issues/2400)) - Added the `ParseCallbacks::generated_link_name_override` method which allow overriding the link name of items. ([#2425](https://togithub.com/rust-lang/rust-bindgen/issues/2425)) - Add support for C `enum`s when generating code while using the `--wrap-static-fns` feature. ([#2415](https://togithub.com/rust-lang/rust-bindgen/issues/2415)) #### Changed - Static functions with no arguments use `void` as their single argument instead of having no arguments when the `--wrap-static-fns` flag is used. ([#2443](https://togithub.com/rust-lang/rust-bindgen/issues/2443)) - The source file generated when the `--wrap-static-fns` flag is enabled now contains `#include` directives with all the input headers and all the source code added with the `header_contents` method. ([#2447](https://togithub.com/rust-lang/rust-bindgen/issues/2447)) - The source file generated when the `--wrap-static-fns` flag no longer uses `asm` labeling and the link name of static wrapper functions is allowed to be mangled. ([#2448](https://togithub.com/rust-lang/rust-bindgen/issues/2448)) - The documentation of the generated `type` aliases now matches the comments of their `typedef` counterparts instead of using the comments of the aliased types. ([#2463](https://togithub.com/rust-lang/rust-bindgen/issues/2463)) - The `Builder::rustfmt_bindings` methods and the `--no-rustfmt-bindings` flag are now deprecated in favor of the formatter API. ([#2453](https://togithub.com/rust-lang/rust-bindgen/issues/2453)) #### Removed - The following deprecated flags were removed: `--use-msvc-mangling`, `--rustfmt-bindings` and `--size_t-is-usize`. ([#2408](https://togithub.com/rust-lang/rust-bindgen/issues/2408)) - The `Bindings::emit_warnings` and `Bindings::warnings` methods were removed in favor of `--emit-diagnostics`. ([#2436](https://togithub.com/rust-lang/rust-bindgen/issues/2436)) - Bindgen no longer generates C string constants that cannot be represented as byte slices. ([#2487](https://togithub.com/rust-lang/rust-bindgen/issues/2487))Configuration
📅 Schedule: 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.