# Objective Reduce the size of `bevy_utils` (https://github.com/bevyengine/bevy/issues/11478) ## Solution Move `EntityHash` related types into `bevy_ecs`. This also allows us access to `Entity`, which means we no longer need `EntityHashMap`'s first generic argument. --- ## Changelog - Moved `bevy::utils::{EntityHash, EntityHasher, EntityHashMap, EntityHashSet}` into `bevy::ecs::entity::hash` . - Removed `EntityHashMap`'s first generic argument. It is now hardcoded to always be `Entity`. ## Migration Guide - Uses of `bevy::utils::{EntityHash, EntityHasher, EntityHashMap, EntityHashSet}` now have to be imported from `bevy::ecs::entity::hash`. - Uses of `EntityHashMap` no longer have to specify the first generic parameter. It is now hardcoded to always be `Entity`. |
||
|---|---|---|
| .. | ||
| color_material.rs | ||
| color_material.wgsl | ||
| material.rs | ||
| mesh2d_bindings.wgsl | ||
| mesh2d_functions.wgsl | ||
| mesh2d_types.wgsl | ||
| mesh2d_vertex_output.wgsl | ||
| mesh2d_view_bindings.wgsl | ||
| mesh2d_view_types.wgsl | ||
| mesh2d.wgsl | ||
| mesh.rs | ||
| mod.rs | ||