Skip to content

Commit

Permalink
Workaround for weird dependency issues on v0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
goto64 committed Nov 30, 2024
1 parent 45f9dd3 commit 7eb43cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ exclude = ["assets/sample_art/*", "screenshot/*", ".idea/*"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy = { version = "0.15.0", default-features = false, features = [
bevy_image = "0.15.0"

bevy = { version = "0.15", default-features = false, features = [
"bevy_render",
"bevy_core_pipeline",
"bevy_winit",
Expand All @@ -27,7 +29,7 @@ name = "moving_truck"
path = "src/examples/moving_truck.rs"

[dev-dependencies]
bevy = { version = "0.15.0", default-features = false, features = [
bevy = { version = "0.15", default-features = false, features = [
"bevy_render",
"bevy_core_pipeline",
"bevy_winit",
Expand Down
2 changes: 2 additions & 0 deletions src/lightmap_plugin/lightmap_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ use bevy::render::render_resource::{AsBindGroup, BlendComponent, BlendFactor, Bl
use bevy::render::view::RenderLayers;
use bevy::sprite::{Material2d, Material2dKey, Material2dPlugin};
use bevy::window::{PrimaryWindow, WindowResized};
use bevy_image::Image;
use bevy_image::BevyDefault;


pub struct LightmapPlugin;
Expand Down

0 comments on commit 7eb43cb

Please sign in to comment.