bevy/crates/bevy_core/src
Torstein Grindvik faf3c175b8
bevy_core: make bevy_reflect optional (#14179)
# 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

Signed-off-by: Torstein Grindvik <torstein.grindvik@muybridge.com>
Co-authored-by: Torstein Grindvik <torstein.grindvik@muybridge.com>
2024-07-08 01:09:04 +00:00
..
lib.rs bevy_core: make bevy_reflect optional (#14179) 2024-07-08 01:09:04 +00:00
name.rs bevy_core: make bevy_reflect optional (#14179) 2024-07-08 01:09:04 +00:00
serde.rs bevy_core: Derive useful traits on FrameCount (#13291) 2024-05-10 10:00:08 +00:00
task_pool_options.rs Fix beta lints (#12980) 2024-04-16 02:46:46 +00:00