mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #28806 - servo:dependabot/cargo/cbindgen-0.20.0, r=jdm
Bump cbindgen from 0.14.6 to 0.20.0 Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.14.6 to 0.20.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/eqrion/cbindgen/releases">cbindgen's releases</a>.</em></p> <blockquote> <h2>v0.20.0</h2> <ul> <li>Add Builder::with_using_namespaces. (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/688">#688</a>)</li> <li>Ignore PhantomPinned. (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/695">#695</a>)</li> <li>Simplify Pin<!-- raw HTML omitted --> to T. (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/697">#697</a>)</li> <li>Update --pretty=expanded to -Zunpretty=expanded. (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/706">#706</a>)</li> </ul> <h2>v0.19.0</h2> <ul> <li>Simplify types in generics (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/663">#663</a>)</li> <li>Use --profile=check for macro expansion (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/671">#671</a>)</li> <li>Use exported name to prefix enum variants (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/672">#672</a>)</li> <li>Fix path attribute handling in inline submodules (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/679">#679</a>)</li> <li>Fix a stack overflow with some recursive typedefs (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/680">#680</a>)</li> </ul> <h2>v0.18.0</h2> <ul> <li>Simplify types in nested types such as pointed-to types and function signatures (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/661">#661</a>)</li> </ul> <h2>v0.17.0</h2> <ul> <li>Add with_parse_extra_bindings to builder. (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/645">#645</a>)</li> <li>Support NonZero and fix incorrect simplification of Option<!-- raw HTML omitted --> into ptr. (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/647">#647</a>)</li> <li>Deal with name conflicts correctly in declaration type resolution. (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/651">#651</a>)</li> <li>Support pointers to ZSTs. (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/656">#656</a>)</li> </ul> <h2>v0.16.0</h2> <p>No release notes provided.</p> <h2>v0.15.0</h2> <p>No release notes provided.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/eqrion/cbindgen/blob/master/CHANGES">cbindgen's changelog</a>.</em></p> <blockquote> <h2>0.20.0</h2> <pre><code> * 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)) </code></pre> <h2>0.19.0</h2> <pre><code> * 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)) </code></pre> <h2>0.18.0</h2> <pre><code> * Simplify types in nested types such as pointed-to types and function signatures ([#661](https://github.com/eqrion/cbindgen/issues/661)) </code></pre> <h2>0.17.0</h2> <pre><code> * 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)) </code></pre> <h2>0.16.0</h2> <pre><code> * 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)) </code></pre> <p>Thanks to all the awesome contributors that contributed to this release.</p> <h2>0.15.0</h2> <pre><code> * 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)) </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="41506d5aeb
"><code>41506d5</code></a> v0.20.0</li> <li><a href="34299aef56
"><code>34299ae</code></a> Don't use <code>check</code> profile when expanding code on a release build</li> <li><a href="6c96c8ab95
"><code>6c96c8a</code></a> Update --pretty=expanded to -Zunpretty=expanded</li> <li><a href="57add9c860
"><code>57add9c</code></a> Fix some clippy lints.</li> <li><a href="63c1043dfb
"><code>63c1043</code></a> Simplify Pin<T> to T</li> <li><a href="ccd1f0e9ec
"><code>ccd1f0e</code></a> add <code>Builder::with_using_namespaces</code></li> <li><a href="4e394493d6
"><code>4e39449</code></a> Ignore PhantomPinned</li> <li><a href="2d20c4b151
"><code>2d20c4b</code></a> Move the target-guessing code from <a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/676">#676</a> to its own function.</li> <li><a href="93c06c5c9d
"><code>93c06c5</code></a> Only fetch dependencies for current platform by default (<a href="https://github-redirect.dependabot.com/eqrion/cbindgen/issues/676">#676</a>)</li> <li><a href="d9e490ce8b
"><code>d9e490c</code></a> v0.19.0</li> <li>Additional commits viewable in <a href="https://github.com/eqrion/cbindgen/compare/v0.14.6...v0.20.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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>
This commit is contained in:
commit
843d2b2a8f
2 changed files with 4 additions and 3 deletions
5
Cargo.lock
generated
5
Cargo.lock
generated
|
@ -643,12 +643,13 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "cbindgen"
|
||||
version = "0.14.6"
|
||||
version = "0.20.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "afa64e93023395ee316490cf013f07f753bc88d116eb1aec1bcee7d63fbcca53"
|
||||
checksum = "51e3973b165dc0f435831a9e426de67e894de532754ff7a3f307c03ee5dec7dc"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"heck",
|
||||
"indexmap",
|
||||
"log",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
|
|
@ -26,7 +26,7 @@ libc = "0.2"
|
|||
winapi = { version = "0.3", features = ["wingdi", "winuser", "winnt", "winbase", "processenv", "namedpipeapi", "ntdef", "minwindef", "handleapi", "debugapi"] }
|
||||
|
||||
[build-dependencies]
|
||||
cbindgen = "0.14"
|
||||
cbindgen = "0.20"
|
||||
|
||||
[features]
|
||||
debugmozjs = ["simpleservo/debugmozjs"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue