Cargo Features
[dependencies]
bevy_a11y = { version = "0.16.0-rc.1", default-features = false, features = ["bevy_reflect", "serialize", "std", "critical-section", "libm"] }
- 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, bevy_ecs, and bevy_input_focus
bevy_app:
bevy
- serialize
-
Adds serialization support through
serde
.Enables serde, serialize of bevy_ecs and bevy_input_focus and serde of accesskit ^0.17
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, bevy_input_focus, 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, bevy_input_focus, and optional bevy_reflect
- libm
-
Uses the
libm
maths library instead of the one provided instd
andcore
.Enables libm of bevy_input_focus