bcmyers / num-format

A Rust crate for producing string representations of numbers, formatted according to international standards
Apache License 2.0
123 stars 22 forks source link

Update bindgen requirement from 0.63.0 to 0.65.1 #39

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on bindgen to permit the latest version.

Changelog

Sourced from bindgen's changelog.

0.65.1

Fixed

  • The Builder::rustfmt_bindings method was added back and tagged as deprecated instead of being removed.
  • Broken documentation links were fixed.

0.65.0

Added

  • Added the Builder::default_visibility method and the --default-visibility flag to set the default visibility of fields. (#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)
  • Added the Builder::formatter method and the Formatter type to select which tool will be used to format the bindings. (#2453)
  • Added the Builder::emit_diagnostics method and the --emit-diagnostics flag to enable emission of diagnostic messages under the experimental feature. (#2436)
  • Added support for the "efiapi" calling convention (#2490).
  • Added the ParseCallbacks::read_env_var method which runs everytime bindgen reads and environment variable. (#2400)
  • Added the ParseCallbacks::generated_link_name_override method which allow overriding the link name of items. (#2425)
  • Add support for C enums when generating code while using the --wrap-static-fns feature. (#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)
  • 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)
  • 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)
  • 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)
  • The Builder::rustfmt_bindings methods and the --no-rustfmt-bindings flag are now deprecated in favor of the formatter API. (#2453)

Removed

  • The following deprecated flags were removed: --use-msvc-mangling, --rustfmt-bindings and --size_t-is-usize. (#2408)
  • The Bindings::emit_warnings and Bindings::warnings methods were removed in favor of --emit-diagnostics. (#2436)

... (truncated)

Commits


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)