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:
parent
87b63af864
commit
7573b3c765
@ -39,7 +39,7 @@ nonmax = "0.5"
|
||||
smallvec = "1.11"
|
||||
|
||||
[features]
|
||||
serialize = ["serde", "smallvec/serde"]
|
||||
serialize = ["serde", "smallvec/serde", "bevy_math/serialize"]
|
||||
|
||||
|
||||
[lints]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user