Cargo Features
[dependencies]
bevy_ecs = { version = "0.15.0", default-features = false, features = ["trace", "multi_threaded", "bevy_debug_stepping", "serialize", "track_change_detection", "reflect_functions", "detailed_trace"] }
- default = bevy_reflect
-
The
bevy_reflect
feature is set by default wheneverbevy_ecs
is added without
somewhere in the dependency tree.default-features = false - trace
- multi_threaded = arrayvec
-
Enables multi_threaded of bevy_tasks
Affects
iterators::EventParIter
,mut_iterators::EventMutParIter
… - bevy_debug_stepping
- serialize
-
Enables serde
- track_change_detection
-
Affects
change_detection::DetectChanges.changed_by
,component::RequiredComponentConstructor
… - reflect_functions = bevy_reflect
-
Enables functions of bevy_reflect
bevy_reflect:
Enables function reflection
Affects
reflect::AppFunctionRegistry
… - detailed_trace
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.
- bevy_reflect default reflect_functions?
-
Affects
bevy_ecs::reflect
,world::reflect
… - arrayvec multi_threaded?