Skip to content

Commit

Permalink
Fix bevy_render's image dependency version (bevyengine#14505)
Browse files Browse the repository at this point in the history
# Objective

- `bevy_render` depends on `image 0.25` but uses `image::ImageReader`
which was added only in `image 0.25.2`
- users that have `image 0.25` in their `Cargo.lock` and update to the
latest `bevy_render` may thus get a compilation due to this (at least I
did)

## Solution

- Properly set the correct minimum version of `image` that `bevy_render`
depends on.
  • Loading branch information
SkiFire13 committed Jul 28, 2024
1 parent bc80b95 commit 59a33e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_render/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ bevy_utils = { path = "../bevy_utils", version = "0.15.0-dev" }
bevy_tasks = { path = "../bevy_tasks", version = "0.15.0-dev" }

# rendering
image = { version = "0.25", default-features = false }
image = { version = "0.25.2", default-features = false }

# misc
codespan-reporting = "0.11.0"
Expand Down

0 comments on commit 59a33e6

Please sign in to comment.