bevy/crates/bevy_core_pipeline/src
Zachary Harrold 9bc0ae33c3
Move hashbrown and foldhash out of bevy_utils (#17460)
# Objective

- Contributes to #16877

## Solution

- Moved `hashbrown`, `foldhash`, and related types out of `bevy_utils`
and into `bevy_platform_support`
- Refactored the above to match the layout of these types in `std`.
- Updated crates as required.

## Testing

- CI

---

## Migration Guide

- The following items were moved out of `bevy_utils` and into
`bevy_platform_support::hash`:
  - `FixedState`
  - `DefaultHasher`
  - `RandomState`
  - `FixedHasher`
  - `Hashed`
  - `PassHash`
  - `PassHasher`
  - `NoOpHash`
- The following items were moved out of `bevy_utils` and into
`bevy_platform_support::collections`:
  - `HashMap`
  - `HashSet`
- `bevy_utils::hashbrown` has been removed. Instead, import from
`bevy_platform_support::collections` _or_ take a dependency on
`hashbrown` directly.
- `bevy_utils::Entry` has been removed. Instead, import from
`bevy_platform_support::collections::hash_map` or
`bevy_platform_support::collections::hash_set` as appropriate.
- All of the above equally apply to `bevy::utils` and
`bevy::platform_support`.

## Notes

- I left `PreHashMap`, `PreHashMapExt`, and `TypeIdMap` in `bevy_utils`
as they might be candidates for micro-crating. They can always be moved
into `bevy_platform_support` at a later date if desired.
2025-01-23 16:46:08 +00:00
..
auto_exposure Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
blit Expose Pipeline Compilation Zero Initialize Workgroup Memory Option (#16301) 2024-11-08 21:42:37 +00:00
bloom Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
contrast_adaptive_sharpening Remove all deprecated code (#16338) 2025-01-05 20:33:39 +00:00
core_2d Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
core_3d Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
deferred Key render phases off the main world view entity, not the render world view entity. (#16942) 2025-01-12 20:24:17 +00:00
dof Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
fullscreen_vertex_shader Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
fxaa Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
motion_blur Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
oit Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
post_process Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
prepass Use multi_draw_indirect_count where available, in preparation for two-phase occlusion culling. (#17211) 2025-01-14 21:19:20 +00:00
skybox Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
smaa Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
taa Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
tonemapping bevy_core_pipeline: Apply #![warn(clippy::allow_attributes, clippy::allow_attributes_without_reason)] (#17137) 2025-01-14 21:33:28 +00:00
upscaling Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
lib.rs Move #![warn(clippy::allow_attributes, clippy::allow_attributes_without_reason)] to the workspace Cargo.toml (#17374) 2025-01-15 01:14:58 +00:00
msaa_writeback.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00