Skip to content

Commit

Permalink
Deps: Update image and itertools to latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Jun 10, 2024
1 parent 504a6bf commit 19c9204
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
7 changes: 3 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ futures-util = { version = "0.3.28", default-features = false, features = ["allo
gilrs = { version = "0.10.4" }
gloo-timers = { version = "0.3.0", default-features = false }
hashbrown = { version = "0.14.0", default-features = false, features = ["ahash", "inline-more"] }
image = { version = "0.24.6", default-features = false }
image = { version = "0.25.1", default-features = false }
imgref = "1.10.1"
indoc = "2.0.1"
itertools = { version = "0.12.0", default-features = false, features = ["use_alloc"] }
Expand Down
2 changes: 1 addition & 1 deletion all-is-cubes-port/src/gltf/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl GltfTextureAllocator {
// `image` wants `Write + Seek` but `w` is not currently `Seek`
let mut tmp = io::Cursor::new(Vec::new());
image
.write_to(&mut tmp, image::ImageOutputFormat::Png)
.write_to(&mut tmp, image::ImageFormat::Png)
.expect("failed to write image to in-memory buffer");
w.write_all(tmp.into_inner().as_slice())?;
Ok(())
Expand Down
11 changes: 2 additions & 9 deletions all-is-cubes-wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 19c9204

Please sign in to comment.