
# Objective Make bevy_utils less of a compilation bottleneck. Tackle #11478. ## Solution * Move all of the directly reexported dependencies and move them to where they're actually used. * Remove the UUID utilities that have gone unused since `TypePath` took over for `TypeUuid`. * There was also a extraneous bytemuck dependency on `bevy_core` that has not been used for a long time (since `encase` became the primary way to prepare GPU buffers). * Remove the `all_tuples` macro reexport from bevy_ecs since it's accessible from `bevy_utils`. --- ## Changelog Removed: Many of the reexports from bevy_utils (petgraph, uuid, nonmax, smallvec, and thiserror). Removed: bevy_core's reexports of bytemuck. ## Migration Guide bevy_utils' reexports of petgraph, uuid, nonmax, smallvec, and thiserror have been removed. bevy_core' reexports of bytemuck's types has been removed. Add them as dependencies in your own crate instead.
14 lines
271 B
Rust
14 lines
271 B
Rust
use crate as bevy_reflect;
|
|
|
|
use crate::{std_traits::ReflectDefault, ReflectDeserialize, ReflectSerialize};
|
|
use bevy_reflect_derive::impl_reflect_value;
|
|
|
|
impl_reflect_value!(::uuid::Uuid(
|
|
Serialize,
|
|
Deserialize,
|
|
Default,
|
|
Debug,
|
|
PartialEq,
|
|
Hash
|
|
));
|