Cargo Features
bevy_sprite has no features set by default.
[dependencies]
bevy_sprite = { version = "0.15.0", features = ["bevy_sprite_picking_backend", "serialize", "webgl", "webgpu"] }
- bevy_sprite_picking_backend = bevy_picking, bevy_window
-
Affects
bevy_sprite::SpritePlugin.add_picking
… - serialize
-
Enables serde
- webgl
- webgpu
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.