Auto merge of #29117 - servo:dependabot/cargo/image-0.24.5, r=jdm

Bump image from 0.24.4 to 0.24.5

Bumps [image](https://github.com/image-rs/image) from 0.24.4 to 0.24.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/image-rs/image/blob/master/CHANGES.md">image's changelog</a>.</em></p>
<blockquote>
<h3>Version 0.24.5</h3>
<p>Structural changes:</p>
<ul>
<li>Increased the minimum supported Rust version (MSRV) to 1.61.</li>
<li>Increased the version requirement for the <code>tiff</code> crate to 0.8.0.</li>
<li>Increased the version requirement for the <code>jpeg</code> crate to 0.3.0.</li>
</ul>
<p>Bug fixes:</p>
<ul>
<li>The <code>as_rgb32f</code> function of <code>DynamicImage</code> is now correctly documented.</li>
<li>Fixed a crash when decoding ICO images. Added a regression test.</li>
<li>Fixed a panic when transforming webp images. Added a regression test.</li>
<li>Added a check to prevent integer overflow when calculating file size for BMP
images. The missing check could panic in debug mode or else set an incorrect
file size in release mode.</li>
<li>Upgraded the PNG image encoder to use the newer <code>PngEncoder::write_image</code>
instead of the deprecated <code>PngEncoder::encode</code> which did not account for byte
order and could result in images with incorrect colors.</li>
<li>Fixed <code>InsufficientMemory</code> error when trying to decode a PNG image.</li>
<li>Fix warnings and CI issues.</li>
<li>Typos and links in the documentation have been corrected.</li>
</ul>
<p>Performance:</p>
<ul>
<li>Added check for dynamic image dimensions before resizing. This improves
performance in cases where the image does not need to be resized or has
already been resized.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="aa1e81e82e"><code>aa1e81e</code></a> Changes and release notes for 0.24.5</li>
<li><a href="88aadcbac0"><code>88aadcb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/image-rs/image/issues/1821">#1821</a> from micahsnyder/bump-jpeg-dependency</li>
<li><a href="dffefce050"><code>dffefce</code></a> Bump the 'jpeg' version requirement to 0.3.0</li>
<li><a href="bf0a96b4f2"><code>bf0a96b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/image-rs/image/issues/1812">#1812</a> from fintelia/png-with-limits</li>
<li><a href="a7026e91a6"><code>a7026e9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/image-rs/image/issues/1817">#1817</a> from Flashover89/Check-dimensions-for-dyn-image-befo...</li>
<li><a href="392798ccef"><code>392798c</code></a> Fix white spacing</li>
<li><a href="2be3d17ac4"><code>2be3d17</code></a> Merge branch 'image-rs:master' into Check-dimensions-for-dyn-image-before-res...</li>
<li><a href="46812253f9"><code>4681225</code></a> Fix review findings</li>
<li><a href="1361f4aa85"><code>1361f4a</code></a> Add PngDecoder::with_limits</li>
<li><a href="1878c886db"><code>1878c88</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/image-rs/image/issues/1815">#1815</a> from fintelia/fix-ci</li>
<li>Additional commits viewable in <a href="https://github.com/image-rs/image/compare/v0.24.4...v0.24.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=image&package-manager=cargo&previous-version=0.24.4&new-version=0.24.5)](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:
bors-servo 2022-11-29 19:03:37 -05:00 committed by GitHub
commit 80957c3c79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 27 deletions

52
Cargo.lock generated
View file

@ -878,7 +878,7 @@ dependencies = [
"euclid",
"gfx_traits",
"gleam 0.12.1",
"image 0.24.4",
"image 0.24.5",
"ipc-channel",
"keyboard-types",
"libc",
@ -1324,15 +1324,6 @@ dependencies = [
"byteorder",
]
[[package]]
name = "deflate"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c86f7e25f518f4b81808a2cf1c50996a61f5c2eb394b2393bd87f2a4780a432f"
dependencies = [
"adler32",
]
[[package]]
name = "deny_public_fields"
version = "0.0.1"
@ -2966,9 +2957,9 @@ dependencies = [
[[package]]
name = "image"
version = "0.24.4"
version = "0.24.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd8e4fb07cf672b1642304e731ef8a6a4c7891d67bb4fd4f5ce58cd6ed86803c"
checksum = "69b7ea949b537b0fd0af141fff8c77690f2ce96f4f41f042ccb6c69c6c965945"
dependencies = [
"bytemuck",
"byteorder",
@ -2978,7 +2969,7 @@ dependencies = [
"jpeg-decoder",
"num-rational 0.4.0",
"num-traits",
"png 0.17.5",
"png 0.17.7",
"scoped_threadpool",
"tiff",
]
@ -3131,9 +3122,9 @@ dependencies = [
[[package]]
name = "jpeg-decoder"
version = "0.2.6"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9478aa10f73e7528198d75109c8be5cd7d15fb530238040148d5f9a22d4c5b3b"
checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e"
dependencies = [
"rayon",
]
@ -3845,6 +3836,15 @@ dependencies = [
"adler",
]
[[package]]
name = "miniz_oxide"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa"
dependencies = [
"adler",
]
[[package]]
name = "mio"
version = "0.6.22"
@ -4144,7 +4144,7 @@ dependencies = [
"http",
"hyper 0.14.5",
"hyper_serde",
"image 0.24.4",
"image 0.24.5",
"ipc-channel",
"lazy_static",
"log",
@ -4870,20 +4870,20 @@ checksum = "c150bf7479fafe3dd8740dbe48cc33b2a3efb7b0fe3483aced8bbc39f6d0238d"
dependencies = [
"bitflags",
"crc32fast",
"deflate 0.8.6",
"deflate",
"miniz_oxide 0.3.7",
]
[[package]]
name = "png"
version = "0.17.5"
version = "0.17.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc38c0ad57efb786dd57b9864e5b18bae478c00c824dc55a38bbc9da95dde3ba"
checksum = "5d708eaf860a19b19ce538740d2b4bdeeb8337fa53f7738455e706623ad5c638"
dependencies = [
"bitflags",
"crc32fast",
"deflate 1.0.0",
"miniz_oxide 0.5.4",
"flate2",
"miniz_oxide 0.6.2",
]
[[package]]
@ -5356,7 +5356,7 @@ dependencies = [
"html5ever",
"http",
"hyper_serde",
"image 0.24.4",
"image 0.24.5",
"indexmap",
"ipc-channel",
"itertools",
@ -5634,7 +5634,7 @@ dependencies = [
"clipboard",
"euclid",
"getopts",
"image 0.24.4",
"image 0.24.5",
"keyboard-types",
"lazy_static",
"libc",
@ -6574,9 +6574,9 @@ checksum = "7572415bd688d401c52f6e36f4c8e805b9ae1622619303b9fa835d531db0acae"
[[package]]
name = "tiff"
version = "0.7.4"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f71e422515e83e3ab8a03d4781d05ebf864fc61f4546e6ecffa58cbd34181a0"
checksum = "f17def29300a156c19ae30814710d9c63cd50288a49c6fd3a10ccfbe4cf886fd"
dependencies = [
"flate2",
"jpeg-decoder",
@ -7265,7 +7265,7 @@ dependencies = [
"euclid",
"headers",
"http",
"image 0.24.4",
"image 0.24.5",
"ipc-channel",
"keyboard-types",
"log",

View file

@ -34,7 +34,6 @@ packages = [
"cocoa",
"crossbeam-channel",
"crossbeam-utils",
"deflate",
"fixedbitset",
"getrandom",
"gleam",