Add missing bytemuck feature (#2625)

# 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
This commit is contained in:
Zicklag 2021-08-10 01:37:41 +00:00
parent 2f32a2a861
commit b5b9a95981

View File

@ -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"