Skip to content

Commit

Permalink
Merge #345
Browse files Browse the repository at this point in the history
345: Update bindgen requirement from 0.61 to 0.63 r=metasim a=dependabot[bot]

Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen) to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md">bindgen's changelog</a>.</em></p>
<blockquote>
<h1>0.63.0</h1>
<h2>Added</h2>
<h2>Changed</h2>
<ul>
<li>Only wrap unsafe operations in unsafe blocks if the <code>--wrap_unsafe_ops</code>
option is enabled.</li>
<li>Replace the <code>name: &amp;str</code> argument for <code>ParseCallbacks::add_derives</code> by
<code>info: DeriveInfo</code>.</li>
<li>All the rust targets equal or lower than <code>1.30</code> are being deprecated and
will be removed in the future. If you have a good reason to use any of these
targets, please report it in the issue tracker.</li>
</ul>
<h2>Removed</h2>
<ul>
<li>The following deprecated methods and their equivalent CLI arguments were
removed: <code>whitelist_recursively</code>, <code>hide_type</code>, <code>blacklist_type</code>,
<code>blacklist_function</code>, <code>blacklist_item</code>, <code>whitelisted_type</code>,
<code>whitelist_type</code>, <code>whitelist_function</code>, <code>whitelisted_function</code>,
<code>whitelist_var</code>, <code>whitelisted_var</code>, <code>unstable_rust</code>.</li>
</ul>
<h1>0.62.0</h1>
<h2>Added</h2>
<ul>
<li>new feature: <code>--override-abi</code> flag to override the ABI used by functions
matching a regular expression.</li>
<li>new feature: allow using the <code>C-unwind</code> ABI in <code>--override-abi</code> on nightly
rust.</li>
<li>new feature: <code>process_comments</code> method to the <code>ParseCallbacks</code> trait to
handle source code comments.</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Regex inputs are sanitized so alternation (<code>a|b</code>) is handled correctly but
wildcard patterns (<code>*</code>) are now considered invalid.</li>
<li>the <code>ParseCallbacks</code>trait does not require to implement <code>UnwindSafe</code>.</li>
<li>the <code>Builder::parse_callbacks</code> method no longer overwrites previously added
callbacks and composes them in a last-to-first manner.</li>
<li>any generated rust code containing unsafe operations inside unsafe functions
is wrapped in unsafe blocks now.</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Various issues with upcoming clang/libclang versions have been fixed.</li>
</ul>
<h1>0.61.0</h1>
<p>Released 2022/10/16</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/c51591941e18a75c312c7c237c4969dd22c40467"><code>c515919</code></a> CONTRIBUTING: Add docs for doing a release. (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2358">#2358</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/d828f3f7adc7957a257a0337f41f3d9a28ebf8db"><code>d828f3f</code></a> Release v0.63.0 (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2357">#2357</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/7e4174990c68bcc56314a31774639d88b2dbc692"><code>7e41749</code></a> Deprecate Rust targets lower or equal than <code>1.30</code> (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2356">#2356</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/046d6f9eea1803253c06dd99a0d38f5dcb5ed9c1"><code>046d6f9</code></a> Add <code>--wrap-unsafe-ops</code> option (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2354">#2354</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/f160d11d56007fe1b1125d04f0cb31af0b18fc6e"><code>f160d11</code></a> Add <code>ParseCallbacks::process_comment</code> (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2347">#2347</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/34f0bacb7eb72413c9c27684cb01a205ee43037e"><code>34f0bac</code></a> Introduce <code>DeriveInfo</code> (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2355">#2355</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/8fe230830fa56e94efcaaa6833d536eec894a71e"><code>8fe2308</code></a> Remove deprecated methods (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2346">#2346</a>)</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/ce534c1a139745198285ae64b09e81e0a0afe28a"><code>ce534c1</code></a> add LICENSE symlinks to all individually published crates</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/c09bd2f5b58fb90fbcd906a4826d4ac26fe6ef1d"><code>c09bd2f</code></a> v0.62.0</li>
<li><a href="https://github.com/rust-lang/rust-bindgen/commit/678daf56a2384252304fc27ed2b46e769da1890f"><code>678daf5</code></a> document regex arguments handling (<a href="https://github-redirect.dependabot.com/rust-lang/rust-bindgen/issues/2345">#2345</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/rust-bindgen/compare/v0.61.0...v0.63.0">compare view</a></li>
</ul>
</details>
<br />


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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
bors[bot] and dependabot[bot] authored Nov 29, 2022
2 parents a9d2ba1 + e704342 commit 029b95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdal-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ edition = "2018"
libc = "0.2"

[build-dependencies]
bindgen = { version = "0.61", optional = true }
bindgen = { version = "0.63", optional = true }
pkg-config = "0.3"
semver = "1.0"

0 comments on commit 029b95a

Please sign in to comment.