bevy
bevy copied to clipboard
bevy_core: make bevy_reflect optional
Objective
Allow use of bevy_core types without needing bevy_reflect.
Solution
Make bevy_reflect within bevy_core optional. It's compiled in by default.
Turn on reflect in dependencies as well when this feature is on.
Testing
- Did you test these changes? If so, how?
I did a cargo hack -p bevy_core--each-feature build.
Similar PR: https://github.com/bevyengine/bevy/pull/14167
Discord context starts here: https://discord.com/channels/691052431525675048/768253008416342076/1258814534651482163