svartalf / rust-battery

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

Update cbindgen requirement from 0.10.0 to 0.12.0 #49

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Updates the requirements on cbindgen to permit the latest version.

Changelog *Sourced from [cbindgen's changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES).* > ## 0.12.0 > > * Added support for #[repr(align)] and #[repr(packed)] on structs and unions. [eqrion/cbindgen#431](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/431) > * Added support to generate copy-assignment operators for enums. [eqrion/cbindgen#434](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/434) > > ## 0.11.1 > > * More binary operators and expressions are supported. [eqrion/cbindgen#425](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/425) > * More built-in bitflags operators. [eqrion/cbindgen#426](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/426) > > ## 0.11.0 > > * Made rust char map to uint32_t. [eqrion/cbindgen#424](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/424) > > ## 0.10.1 > > * Improved error message for missing config file. [eqrion/cbindgen#422](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/422) > * Add missing header for char32_t. [eqrion/cbindgen#414](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/414) > > ## 0.10.0 > > * Initialize struct literal with list-initializer for C++11 standard. [eqrion/cbindgen#401](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/401) > * Surround namespace with __cplusplus ifdef in cpp_compat mode. [eqrion/cbindgen#407](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/407) > * Add support for --quiet flag. [eqrion/cbindgen#400](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/400) > * Map char to char32_t. [eqrion/cbindgen#396](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/396) > * Improve binding_crate_ref() error message. [eqrion/cbindgen#395](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/395) > * avoid prematurely returning during expansion. [eqrion/cbindgen#389](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/389) > * Add support for adding "using namespace" statements. [eqrion/cbindgen#387](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/387) > > ## 0.9.1 > > * Various improvements to comment output. [eqrion/cbindgen#370](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/370) / https://github-redirect.dependabot.com/eqrion/cbindgen/pull/375. > * Fixed expand when ran from build.rs. [eqrion/cbindgen#371](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/371) > * More debugging output for expansion. [eqrion/cbindgen#383](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/383) > * New option to add a default private constructor in C++ tagged enums. [eqrion/cbindgen#377](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/377) > * Syn and related dependencies updated to 1.0. [eqrion/cbindgen#379](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/379) > > ## 0.9.0 > > * Support to generate C headers with C++ compatibility. [eqrion/cbindgen#349](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/349) > * Fix include guard generation when no_includes is set. [eqrion/cbindgen#352](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/352) > * Fix crate parsing order so that types from the binding crate are preferred in presence of conflicting names. [eqrion/cbindgen#355](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/355) > * Add extra_bindings option to generate bindings for dependencies. [eqrion/cbindgen#362](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/362) > * Clap dependency is optional now so it's feasible to avoid building it if cbindgen is used as a library. [eqrion/cbindgen#363](https://github-redirect.dependabot.com/eqrion/cbindgen/pull/363) > > ## 0.8.7 > > * Require C++11 to run the test-suite ([#341](https://github-redirect.dependabot.com/eqrion/cbindgen/issues/341), test-only) > * Improve mangling error message ([#340](https://github-redirect.dependabot.com/eqrion/cbindgen/issues/340)) > * Add the ability to automatically derive copy-constructors for tagged enums ([#339](https://github-redirect.dependabot.com/eqrion/cbindgen/issues/339)) > ... (truncated)
Commits - [`38fda6b`](https://github.com/eqrion/cbindgen/commit/38fda6b7785a09721d45ed723b14b118b46ae711) v0.12.0 - [`48f1038`](https://github.com/eqrion/cbindgen/commit/48f1038918b7c34bef291fb8136ce88493bbc48d) enum: Add an option to generate copy-assignments. - [`2b2ab90`](https://github.com/eqrion/cbindgen/commit/2b2ab904cc13a65b73e52d84541f3181f7eea858) docs: add documentation for new alignment config knobs - [`f23d4ee`](https://github.com/eqrion/cbindgen/commit/f23d4ee6e8cf834deb2ef503cccb9da80b789c45) tests: add tests for #[repr(packed)] and #[repr(align(...))] - [`725378d`](https://github.com/eqrion/cbindgen/commit/725378d4199f766b5ecfe692176ce0016ea1cc58) {struct,union}: do not generate unsafe layouts - [`b95df2b`](https://github.com/eqrion/cbindgen/commit/b95df2bd2bdc309ff3347a4ff1be2cfb38f03d7c) ir: union: support #[repr(align(...))] and #[repr(packed)] - [`89781e2`](https://github.com/eqrion/cbindgen/commit/89781e204bdcf52e4eadba30b00009c615fc4fe3) ir: struct: support #[repr(align(...))] and #[repr(packed)] - [`377d93e`](https://github.com/eqrion/cbindgen/commit/377d93ec888576b51c6ff321ef7fa85a0d15a82d) ir: repr: support #[repr(align(...))] and #[repr(packed)] parsing - [`19e685c`](https://github.com/eqrion/cbindgen/commit/19e685c87f4ff966da06ef144f955923a8a69f85) ir: {enum,struct,union}: check ReprStyle correctly - [`e050442`](https://github.com/eqrion/cbindgen/commit/e050442d057e0d0a4f309672ec2863d51f1ec0b0) Add CHANGES entry for v0.11.1 - Additional commits viewable in [compare view](https://github.com/eqrion/cbindgen/compare/v0.10.0...v0.12.0)


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)
dependabot-preview[bot] commented 4 years ago

Superseded by #50.