Cargo Features
[dependencies]
bevy_sprite = { version = "0.15.0-rc.3", default-features = false, features = ["bevy_sprite_picking_backend", "serialize", "webgpu"] }
- default = bevy_sprite_picking_backend
-
The
bevy_sprite_picking_backend
feature is set by default wheneverbevy_sprite
is added without
somewhere in the dependency tree.default-features = false - bevy_sprite_picking_backend default = bevy_picking, bevy_window
- 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.