Cargo Features
[dependencies]
bevy_a11y = { version = "0.16.0-rc.2", default-features = false, features = ["bevy_reflect", "serialize", "std", "critical-section"] }
- default = bevy_reflect, std
-
These default features are set whenever
bevy_a11y
is added without
somewhere in the dependency tree.default-features = false Enables async_executor of bevy_ecs
bevy_ecs:
Executor Backend
Uses
async-executor
as a task execution backend. This backend is incompatible withno_std
targets. - bevy_reflect default std
-
Functionality
Adds runtime reflection support using
bevy_reflect
.Enables bevy_reflect and bevy_reflect of bevy_app and bevy_ecs
bevy_app:
bevy
- serialize
-
Adds serialization support through
serde
.Enables serde, serialize of bevy_ecs and serde of accesskit
other
- std default
-
Platform Compatibility
Allows access to the
std
crate. Enabling this feature will prevent compilation onno_std
targets, but provides access to certain additional features on supported platforms.Enables std of bevy_app, bevy_ecs, and bevy_reflect
- critical-section
-
critical-section
provides the building blocks for synchronization primitives on all platforms, includingno_std
.Enables critical-section of bevy_app, bevy_ecs, and optional bevy_reflect