Bump url from 2.2.2 to 2.3.1
Bumps [url](https://github.com/servo/rust-url) from 2.2.2 to 2.3.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="359bc90a4f"><code>359bc90</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/servo/rust-url/issues/792">#792</a> from servo/version_bump_2.3.1</li>
<li><a href="ad8911ae54"><code>ad8911a</code></a> Bump url version to 2.3.1 and bump minor for dependencies</li>
<li><a href="35abc325ba"><code>35abc32</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/servo/rust-url/issues/791">#791</a> from servo/ver_2.3.0</li>
<li><a href="25266fcc36"><code>25266fc</code></a> Bump url version to 2.3.0</li>
<li><a href="587e9628a9"><code>587e962</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/servo/rust-url/issues/790">#790</a> from crowlKats/remove_idna</li>
<li><a href="eaa23e556f"><code>eaa23e5</code></a> remove IDNA feature</li>
<li><a href="a3df36528a"><code>a3df365</code></a> feat(url): add <code>quirks::internal_components</code> (<a href="https://github-redirect.dependabot.com/servo/rust-url/issues/788">#788</a>)</li>
<li><a href="868719da3f"><code>868719d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/servo/rust-url/issues/734">#734</a> from andrewbanchich/fix-set-host</li>
<li><a href="eb3f20d7e4"><code>eb3f20d</code></a> Fix setting file hosts to None</li>
<li><a href="6e5df8fe3b"><code>6e5df8f</code></a> perf(idna): fast-path simple/ascii domains (<a href="https://github-redirect.dependabot.com/servo/rust-url/issues/761">#761</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/servo/rust-url/compare/v2.2.2...v2.3.1">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>
Fix for loop over option warnings
I fixed two for loop over an option warnings by using if let instead.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it is a simple code transformation.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Work around WPT sync permission errors
Getting the permissions right to push the synced changes to servo-wpt-sync/servo and then open a PR was a bit of a nightmare. Instead, we can just push to a new branch on servo/servo and open the PR from there. Fixes#28920.
chore(deps): bump rusttype from 0.9.2 to 0.9.3
Bumps rusttype from 0.9.2 to 0.9.3.
[](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>
chore(deps): bump bytemuck from 1.9.1 to 1.12.2
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.9.1 to 1.12.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Lokathor/bytemuck/blob/main/changelog.md">bytemuck's changelog</a>.</em></p>
<blockquote>
<h2>1.12.2</h2>
<ul>
<li>Fixes <code>try_pod_read_unaligned</code> bug that made it always fail unless the target
type was exactly pointer sized in which case UB <em>could</em> happen. The
<code>CheckedBitPattern::is_valid_bit_pattern</code> was being asked to check that a
<em>reference</em> to the <code>pod</code> value was a valid bit pattern, rather than the actual
bit pattern itself, and so the check could in some cases be illegally
bypassed.</li>
</ul>
<h2>1.12.1</h2>
<ul>
<li>Patch bumped the required <code>bytemuck_derive</code> version because of a regression in
how it handled <code>align(N)</code> attributes.</li>
</ul>
<h2>1.12</h2>
<ul>
<li>This minor version bump is caused by a version bump in our <code>bytemuck_derive</code>
dependency, which is in turn caused by a mixup in the minimum version of <code>syn</code>
that <code>bytemuck_derive</code> uses. See <a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/issues/122">Issue
122</a>. There's not any
specific "new" API as you might normally expect from a minor version bump.</li>
<li><a href="https://github.com/pali6">pali</a> fixed a problem with SPIR-V builds being
broken. The error handling functions were trying to be generic over <code>Display</code>,
which the error types normally support, except on SPIR-V targets (which run on
the GPU and don't have text formatting).</li>
</ul>
<h2>1.11</h2>
<ul>
<li><a href="https://github.com/WaffleLapkin">WaffleLapkin</a> added <code>wrap_box</code> and <code>peel_box</code>
to the <code>TransparentWrapperAlloc</code> trait. Default impls of these functions are
provided, and (as usual with the transparent trait stuff) you should not override
the default versions.</li>
</ul>
<h2>1.10</h2>
<ul>
<li><a href="https://github.com/TheEdward162">TheEdward162</a> added the <code>ZeroableInOption</code>
and <code>PodInOption</code> traits. These are for types that are <code>Zeroable</code> or <code>Pod</code>
<em>when in an option</em>, but not on their own. We provide impls for the various
"NonZeroINTEGER" types in <code>core</code>, and if you need to newtype a NonZero value
then you can impl these traits when you use <code>repr(transparent)</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7b67524a43"><code>7b67524</code></a> (cargo-release) version 1.12.2</li>
<li><a href="579950fdb5"><code>579950f</code></a> changelog</li>
<li><a href="12f5bfd62e"><code>12f5bfd</code></a> clippy you are often a pain in my butt</li>
<li><a href="f1571512d2"><code>f157151</code></a> fix <code>try_pod_read_unaligned</code>... never having worked correctly (<a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/issues/138">#138</a>)</li>
<li><a href="09dd2ffd68"><code>09dd2ff</code></a> Add <code>cast_{arc,rc}</code> (and slice and try), and <code>{wrap,peel}_{arc,rc}</code>. (<a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/issues/132">#132</a>)</li>
<li><a href="950a3ed3b9"><code>950a3ed</code></a> use the new derive updates.</li>
<li><a href="3f2e91d3a6"><code>3f2e91d</code></a> (cargo-release) version 1.2.1</li>
<li><a href="b7b438026d"><code>b7b4380</code></a> derive changlog.</li>
<li><a href="d47d527ac2"><code>d47d527</code></a> Fix regression <a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/issues/127">#127</a>: support <code>align</code> in <code>repr</code>s again (<a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/issues/128">#128</a>)</li>
<li><a href="995205de23"><code>995205d</code></a> version bump</li>
<li>Additional commits viewable in <a href="https://github.com/Lokathor/bytemuck/compare/v1.9.1...v1.12.2">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>
chore(deps): bump cmake from 0.1.48 to 0.1.49
Bumps [cmake](https://github.com/rust-lang/cmake-rs) from 0.1.48 to 0.1.49.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/cmake-rs/releases">cmake's releases</a>.</em></p>
<blockquote>
<h2>0.1.49</h2>
<h1>Version 0.1.49</h1>
<h2>Changelog</h2>
<ul>
<li><code>emcmake</code> and <code>emmake</code> are now used when compiling to emscripten targets. (<a href="https://github-redirect.dependabot.com/rust-lang/cmake-rs/issues/137">#137</a>)</li>
<li>On 32 bit x86 MSVC targets, the toolset is now always explicitly configured rather than checking the version of MSVC first. (<a href="https://github-redirect.dependabot.com/rust-lang/cmake-rs/issues/144">#144</a>)</li>
<li><code>--parallel</code> is no longer passed to versions of <code>cmake</code> that might not support that flag. (<a href="https://github-redirect.dependabot.com/rust-lang/cmake-rs/issues/146">#146</a>)</li>
<li>If a missing directory is provided via the <code>Config::out_dir</code> API, we will now properly create it rather than failing and reporting a confusing message that <code>cmake</code> is not installed, even if it is. (<a href="https://github-redirect.dependabot.com/rust-lang/cmake-rs/issues/159">#159</a>)</li>
<li><code>CMAKE_OSX_ARCHITECTURES</code> is passed on macOS so that we no longer produce universal binaries by default. (<a href="https://github-redirect.dependabot.com/rust-lang/cmake-rs/issues/160">#160</a>)</li>
<li>Several improvements have been made to cross-compilation support. (<a href="https://github-redirect.dependabot.com/rust-lang/cmake-rs/issues/158">#158</a>)</li>
<li>If <code>make</code> jobserver flags are present in <code>MAKEFLAGS</code>, we now will respect them (by not passing <code>--parallel</code> to <code>cmake</code>). (<a href="https://github-redirect.dependabot.com/rust-lang/cmake-rs/issues/153">#153</a>)</li>
</ul>
<hr />
<p>Additionally, a number of smaller changes which shouldn't impact users have been made; see the commit history for complete details.</p>
<p>Thanks to everybody who contributed to this release!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="df3ba79e45"><code>df3ba79</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/cmake-rs/issues/165">#165</a> from thomcc/bump-version</li>
<li><a href="f58aef39ae"><code>f58aef3</code></a> Prep release 0.1.49</li>
<li><a href="a69a29f79f"><code>a69a29f</code></a> Use SPDX-compatible license format</li>
<li><a href="d8fdafa13b"><code>d8fdafa</code></a> Remove support for publishing to gh-pages (docs.rs exists now)</li>
<li><a href="61e7b2eb7e"><code>61e7b2e</code></a> Update links in Cargo.toml</li>
<li><a href="8e633abe82"><code>8e633ab</code></a> Disable some targets where zlib seems to no longer compile</li>
<li><a href="edc139b772"><code>edc139b</code></a> use jobserver if available</li>
<li><a href="cfe11fc1b1"><code>cfe11fc</code></a> Stop always setting <code>CMAKE_SYSTEM_NAME</code> to <code>SunOS</code> for solaris</li>
<li><a href="16d6bd5bc5"><code>16d6bd5</code></a> Also run <code>cargo test</code> on macOS and Windows</li>
<li><a href="d6688089f1"><code>d668808</code></a> Improve cross compiling support</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/cmake-rs/compare/0.1.48...0.1.49">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>
chore(deps): bump scoped-tls from 1.0.0 to 1.0.1
Bumps [scoped-tls](https://github.com/alexcrichton/scoped-tls) from 1.0.0 to 1.0.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="c0ff7bf6d3"><code>c0ff7bf</code></a> Bump to 1.0.1</li>
<li><a href="4aa71695ad"><code>4aa7169</code></a> Try to fix flag configuration</li>
<li><a href="406fa3b408"><code>406fa3b</code></a> Install miri on CI</li>
<li><a href="2608cb54db"><code>2608cb5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/scoped-tls/issues/18">#18</a> from coolreader18/const-thread_local</li>
<li><a href="dee03d5dc3"><code>dee03d5</code></a> Switch to GH actions</li>
<li><a href="b3b8cc1516"><code>b3b8cc1</code></a> Use thread_local const {} (bump msrv to 1.59)</li>
<li><a href="a7542f27b3"><code>a7542f2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/scoped-tls/issues/17">#17</a> from coolreader18/erased-ptr</li>
<li><a href="5671427253"><code>5671427</code></a> Use a *const () instead of a usize for the inner value</li>
<li><a href="fbab554715"><code>fbab554</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/scoped-tls/issues/14">#14</a> from zyctree/patch-1</li>
<li><a href="8167e4a9d4"><code>8167e4a</code></a> update doc</li>
<li>Additional commits viewable in <a href="https://github.com/alexcrichton/scoped-tls/compare/1.0.0...1.0.1">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>
chore(deps): bump tiff from 0.7.3 to 0.7.4
Bumps [tiff](https://github.com/image-rs/image-tiff) from 0.7.3 to 0.7.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/image-rs/image-tiff/blob/master/CHANGES.md">tiff's changelog</a>.</em></p>
<blockquote>
<h1>Version 0.7.4</h1>
<p>New features:</p>
<ul>
<li>Creating an encoder for invalid, zero-sized images is now rejected.</li>
</ul>
<p>Fixes:</p>
<ul>
<li>Fix panic, in a case where decoding jpeg encoded images did not expect the
jpeg decoder to return an error.</li>
<li>Fix panic by validating <code>rows_per_strip</code> better, fixing a division-by-zero.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d38b65eeb2"><code>d38b65e</code></a> Changelog for 0.7.4</li>
<li><a href="ee27553cf6"><code>ee27553</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/image-rs/image-tiff/issues/180">#180</a> from luksab/patch-1</li>
<li><a href="5a809a728e"><code>5a809a7</code></a> Update link to the TIFF specification</li>
<li><a href="b0b99fc536"><code>b0b99fc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/image-rs/image-tiff/issues/173">#173</a> from micahsnyder/issue-168-handle-jpeg-decoder-errors</li>
<li><a href="3bce92781c"><code>3bce927</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/image-rs/image-tiff/issues/176">#176</a> from fintelia/zero-size</li>
<li><a href="907bbee576"><code>907bbee</code></a> cargo fmt</li>
<li><a href="fc0dafcde2"><code>fc0dafc</code></a> Change error kind</li>
<li><a href="945a02d1e1"><code>945a02d</code></a> Format</li>
<li><a href="ef3294d1fe"><code>ef3294d</code></a> Return an error for zero-size images</li>
<li><a href="0311402999"><code>0311402</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/image-rs/image-tiff/issues/177">#177</a> from fintelia/fix-warnings</li>
<li>Additional commits viewable in <a href="https://github.com/image-rs/image-tiff/compare/v0.7.3...v0.7.4">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>
De-dupe jpeg-decoder
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->