svartalf / rust-battery

Rust crate providing cross-platform information about the notebook batteries.
https://crates.io/crates/battery
Apache License 2.0
354 stars 40 forks source link

Update cbindgen requirement from ^0.13 to ^0.20 #90

Open dependabot-preview[bot] opened 2 years ago

dependabot-preview[bot] commented 2 years ago

Updates the requirements on cbindgen to permit the latest version.

Release notes

Sourced from cbindgen's releases.

v0.20.0

  • Add Builder::with_using_namespaces. (#688)
  • Ignore PhantomPinned. (#695)
  • Simplify Pin to T. (#697)
  • Update --pretty=expanded to -Zunpretty=expanded. (#706)
Changelog

Sourced from cbindgen's changelog.

0.20.0

 * Add Builder::with_using_namespaces. ([#688](https://github.com/eqrion/cbindgen/issues/688))
 * Ignore PhantomPinned. ([#695](https://github.com/eqrion/cbindgen/issues/695))
 * Simplify Pin<T> to T. ([#697](https://github.com/eqrion/cbindgen/issues/697))
 * Update --pretty=expanded to -Zunpretty=expanded. ([#706](https://github.com/eqrion/cbindgen/issues/706))

0.19.0

 * Simplify types in generics ([#663](https://github.com/eqrion/cbindgen/issues/663))
 * Use --profile=check for macro expansion ([#671](https://github.com/eqrion/cbindgen/issues/671))
 * Use exported name to prefix enum variants ([#672](https://github.com/eqrion/cbindgen/issues/672))
 * Fix path attribute handling in inline submodules ([#679](https://github.com/eqrion/cbindgen/issues/679))
 * Fix a stack overflow with some recursive typedefs ([#680](https://github.com/eqrion/cbindgen/issues/680))

0.18.0

 * Simplify types in nested types such as pointed-to types and function signatures ([#661](https://github.com/eqrion/cbindgen/issues/661))

0.17.0

 * Add with_parse_extra_bindings to builder. ([#645](https://github.com/eqrion/cbindgen/issues/645))
 * Support NonZero and fix incorrect simplification of Option<ptr> into ptr. ([#647](https://github.com/eqrion/cbindgen/issues/647))
 * Deal with name conflicts correctly in declaration type resolution. ([#651](https://github.com/eqrion/cbindgen/issues/651))
 * Support pointers to ZSTs. ([#656](https://github.com/eqrion/cbindgen/issues/656))

0.16.0

 * Remove artificial restriction on lifetime parameters on enums ([#604](https://github.com/eqrion/cbindgen/issues/604))
 * Add an option for converting usize/isize into size_t/ptrdiff_t. ([#606](https://github.com/eqrion/cbindgen/issues/606))
 * Allow controlling the cargo profile used for expansion. ([#607](https://github.com/eqrion/cbindgen/issues/607))
 * Support wider range of expressions in enum discriminants ([#614](https://github.com/eqrion/cbindgen/issues/614))
 * Support generation of Cython bindings ([#590](https://github.com/eqrion/cbindgen/issues/590))
 * Fixed some issues with style=tag and recursive structs ([#615](https://github.com/eqrion/cbindgen/issues/615))
 * Default C style to Both (as specified in docs) ([#615](https://github.com/eqrion/cbindgen/issues/615))
 * Fix resolution of path dependencies from certain modules. ([#629](https://github.com/eqrion/cbindgen/issues/629))
 * Support inlined definitions for tuple variants with a single field in C ([#631](https://github.com/eqrion/cbindgen/issues/631))

Thanks to all the awesome contributors that contributed to this release.

0.15.0

 * Allow customizing mangling of generic parameters in C ([#575](https://github.com/eqrion/cbindgen/issues/575))
 * Box<T> simplifies to T* in C (4ce324c)
 * ManuallyDrop<T> and MaybeUninit<T> simplify to T in C, and are opaque in C++ (0076a17)
 * C++ supports a derive-ostream annotation to derive serialization of structs, unions and enums ([#582](https://github.com/eqrion/cbindgen/issues/582))
 * Large character constants have been fixed on Windows ([#586](https://github.com/eqrion/cbindgen/issues/586))
 * Constants are now generated for typedefs, etc ([#589](https://github.com/eqrion/cbindgen/issues/589))
 * The `sort_by` configuration option has been made to work for constants ([#587](https://github.com/eqrion/cbindgen/issues/587))
 * Default sort order is source order now (sort_by = "None"), and can be changed by the above option ([#587](https://github.com/eqrion/cbindgen/issues/587))

... (truncated)

Commits
  • 41506d5 v0.20.0
  • 34299ae Don't use check profile when expanding code on a release build
  • 6c96c8a Update --pretty=expanded to -Zunpretty=expanded
  • 57add9c Fix some clippy lints.
  • 63c1043 Simplify Pin<T> to T
  • ccd1f0e add Builder::with_using_namespaces
  • 4e39449 Ignore PhantomPinned
  • 2d20c4b Move the target-guessing code from #676 to its own function.
  • 93c06c5 Only fetch dependencies for current platform by default (#676)
  • d9e490c v0.19.0
  • 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 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) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)