Skip to content

Commit

Permalink
Add missing bytemuck feature (#2625)
Browse files Browse the repository at this point in the history
# Objective

- Allow you to compile Bevy with the `bevy_sprite2` feature, but without the `bevy_pbr2` feature.
  - This currently fails because the `bevy_sprite2` crate does not require the `derive` feature of the `bytemuck` crate in its `Cargo.toml`, even though it is required to compile.

## Solution

- Add the `derive` feature of `bytemuck` to the `bevy_sprite2` crate
  • Loading branch information
zicklag committed Aug 10, 2021
1 parent 2f32a2a commit b5b9a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelined/bevy_sprite2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bevy_transform = { path = "../../crates/bevy_transform", version = "0.5.0" }
bevy_utils = { path = "../../crates/bevy_utils", version = "0.5.0" }

# other
bytemuck = "1.5"
bytemuck = { version = "1.5", features = ["derive"] }
guillotiere = "0.6.0"
thiserror = "1.0"
rectangle-pack = "0.4"
Expand Down

0 comments on commit b5b9a95

Please sign in to comment.