Fix bevy_math/transform/input
Improper Inclusion (#18526)
# Objective Enabling `serialize`, `critical-section`, or `async-executor` would improperly enable `bevy_math`, `bevy_input`, and/or `bevy_transform`. This was caused by those crates previously being required but are now optional (gated behind `std` and/or `libm`). ## Solution - Added `?` to features not intended to enable those crates ## Testing - CI
This commit is contained in:
parent
df26bc3387
commit
398350906c
@ -95,11 +95,11 @@ serialize = [
|
||||
"bevy_color?/serialize",
|
||||
"bevy_ecs/serialize",
|
||||
"bevy_image?/serialize",
|
||||
"bevy_input/serialize",
|
||||
"bevy_math/serialize",
|
||||
"bevy_input?/serialize",
|
||||
"bevy_math?/serialize",
|
||||
"bevy_scene?/serialize",
|
||||
"bevy_time/serialize",
|
||||
"bevy_transform/serialize",
|
||||
"bevy_transform?/serialize",
|
||||
"bevy_ui?/serialize",
|
||||
"bevy_window?/serialize",
|
||||
"bevy_winit?/serialize",
|
||||
@ -312,7 +312,7 @@ critical-section = [
|
||||
"bevy_app/critical-section",
|
||||
"bevy_diagnostic/critical-section",
|
||||
"bevy_ecs/critical-section",
|
||||
"bevy_input/critical-section",
|
||||
"bevy_input?/critical-section",
|
||||
"bevy_input_focus?/critical-section",
|
||||
"bevy_platform_support/critical-section",
|
||||
"bevy_reflect/critical-section",
|
||||
@ -338,7 +338,7 @@ async_executor = [
|
||||
"std",
|
||||
"bevy_tasks/async_executor",
|
||||
"bevy_ecs/async_executor",
|
||||
"bevy_transform/async_executor",
|
||||
"bevy_transform?/async_executor",
|
||||
]
|
||||
|
||||
# Enables use of browser APIs.
|
||||
|
Loading…
Reference in New Issue
Block a user