Skip to content

Commit

Permalink
Update image requirement from 0.24.3 to 0.25.2 (#26)
Browse files Browse the repository at this point in the history
* Update image requirement from 0.24.3 to 0.25.2

Updates the requirements on [image](https://github.com/image-rs/image) to permit the latest version.
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md)
- [Commits](image-rs/image@v0.24.3...v0.25.2)

---
updated-dependencies:
- dependency-name: image
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update draw_target.rs

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Finomnis <Finomnis@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and Finomnis authored Jul 22, 2024
1 parent c784af5 commit 231d494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ embedded-graphics-core = "0.4.0"
embedded-graphics = { version = "0.8.0", optional = true }

[dev-dependencies]
image = "0.24.3"
image = "0.25.2"
base64 = "0.22.1"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion tests/util/draw_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl TestDrawTarget {
}

pub fn expect_image<T>(image_data: &'static [u8], render: impl FnOnce(&mut Self) -> T) -> T {
let expected_image: RgbImage = image::io::Reader::new(Cursor::new(image_data))
let expected_image: RgbImage = image::ImageReader::new(Cursor::new(image_data))
.with_guessed_format()
.expect("Reference image data is not a recognized image format!")
.decode()
Expand Down

0 comments on commit 231d494

Please sign in to comment.