bevy/crates/bevy_utils/src
Zachary Harrold 3d3746e5d0
Simplify bevy_utils Features (#19090)
# Objective

Now that `bevy_platform::cfg` is merged, we can start tidying up
features. This PR starts with `bevy_utils`.

## Solution

- Removed `serde` and `critical-section` features (they were just
re-exports of `bevy_platform` anyway)
- Removed `std`, `alloc` features, relying on `bevy_platform::cfg` to
check for availability.
- Added `parallel` feature to provide access to the `Parallel` type.
- Moved the `HashMap` type aliases into `map.rs` for better
organisation.

## Testing

- CI
2025-05-24 01:46:11 +00:00
..
default.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
lib.rs Simplify bevy_utils Features (#19090) 2025-05-24 01:46:11 +00:00
map.rs Simplify bevy_utils Features (#19090) 2025-05-24 01:46:11 +00:00
once.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
parallel_queue.rs Simplify bevy_utils Features (#19090) 2025-05-24 01:46:11 +00:00
synccell.rs Remove Implicit std Prelude from no_std Crates (#17086) 2025-01-03 01:58:43 +00:00
syncunsafecell.rs Fix a few typos (#17292) 2025-01-10 22:48:30 +00:00