Added serialize flag to bevy_math dep of bevy_ui (#14450)

# Objective

When depending on the `bevy_ui` crate specifically and using the
`serialize` feature flag, the compilation fails due to `bevy_math` not
having the serialize flag enabled.

## Solution

Added the `serialize` flag to the `bevy_math` dependency when using that
flag on `bevy_ui`.

## Testing

Tested by adding `bevy_math = { version = "0.14", features =
["serialize"] }` on a small Bevy library to ensure compilation was
successful.
This commit is contained in:
TheDudeFromCI 2024-07-29 16:34:07 -07:00 committed by GitHub
parent 87b63af864
commit 7573b3c765
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ nonmax = "0.5"
smallvec = "1.11"
[features]
serialize = ["serde", "smallvec/serde"]
serialize = ["serde", "smallvec/serde", "bevy_math/serialize"]
[lints]