Skip to content

fix(deps): update rust crate image to v0.25.2 #86

fix(deps): update rust crate image to v0.25.2

fix(deps): update rust crate image to v0.25.2 #86

GitHub Actions / clippy succeeded Jul 21, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (4)

src/bin/main.rs|11 col 17| warning: use of deprecated type alias image::io::Reader: this type has been moved and renamed to image::ImageReader
--> src/bin/main.rs:11:17
|
11 | use image::{io::Reader, GenericImageView};
| ^^^^^^
|
= note: #[warn(deprecated)] on by default
src/bin/main.rs|32 col 15| warning: use of deprecated type alias image::io::Reader: this type has been moved and renamed to image::ImageReader
--> src/bin/main.rs:32:15
|
32 | match Reader::open(path) {
| ^^^^^^
src/bin/main.rs|47 col 26| warning: use of deprecated type alias image::io::Reader: this type has been moved and renamed to image::ImageReader
--> src/bin/main.rs:47:26
|
47 | let Ok(reader) = Reader::new(Cursor::new(buf)).with_guessed_format() else {
| ^^^^^^
src/bin/main.rs|73 col 12| warning: redundant pattern matching, consider using is_some()
--> src/bin/main.rs:73:12
|
73 | if let Some(_) = &opts.background {
| -------^^^^^^^------------------- help: try: if opts.background.is_some()
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
= note: #[warn(clippy::redundant_pattern_matching)] on by default