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.10.0 to 0.11.1 #47

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.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)) > * Use placement new for constructing in tagged unions' helper methods ([#333](https://github-redirect.dependabot.com/eqrion/cbindgen/issues/333)) > > ## 0.8.6 > > * Fixed a panic when missing a lock file > ... (truncated)
Commits - [`e050442`](https://github.com/eqrion/cbindgen/commit/e050442d057e0d0a4f309672ec2863d51f1ec0b0) Add CHANGES entry for v0.11.1 - [`c8f94b5`](https://github.com/eqrion/cbindgen/commit/c8f94b586525c07d472bd2c51a04c4fc83071332) v0.11.1 - [`230042b`](https://github.com/eqrion/cbindgen/commit/230042b7539da8086d891ab7d0c3cc02c63436f6) Implement more operators for bitflags. - [`e0fe4e4`](https://github.com/eqrion/cbindgen/commit/e0fe4e4c44972382cc017450d1e1c726971d39db) Add tests for expressions like `(0 << SHIFT) | BOOL` - [`df347d9`](https://github.com/eqrion/cbindgen/commit/df347d984ac880b1c03fa7a0797bb4b405b07a68) Handle parenthesized literals like `(1 << 5)` - [`9a1f4b7`](https://github.com/eqrion/cbindgen/commit/9a1f4b7e753262c4678b4a8499f51fcd2a1de8f1) Handle identifiers in const declarations like SHIFT in `1 << SHIFT` - [`b1a92e2`](https://github.com/eqrion/cbindgen/commit/b1a92e22b91b0dbff881a6176cd804572477c3b7) Handle all binary operations and make pattern match exhaustive - [`d996e7c`](https://github.com/eqrion/cbindgen/commit/d996e7c95f3096bbf59f252d1f7bb68ec37c8795) Refactor pattern match for Syn::Expr::Lit - [`9b7bb8f`](https://github.com/eqrion/cbindgen/commit/9b7bb8f1b6c6af0dc3c0f6174bf6f3cf5d17fc08) Update docs to account for the latest char => char32_t change. - [`0355c3c`](https://github.com/eqrion/cbindgen/commit/0355c3c0315e22cd91e7ef35913247347bc7b73b) v0.11.0 - Additional commits viewable in [compare view](https://github.com/eqrion/cbindgen/compare/v0.10.0...v0.11.1)


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 #49.