bevy/crates/bevy_utils/src
Zachary Harrold 53adcd7667
Minor fixes for bevy_utils in no_std (#15463)
# Objective

- Contributes to #15460

## Solution

- Made `web-time` a `wasm32`-only dependency.
- Moved time-related exports to its own module for clarity.
- Feature-gated allocator requirements for `hashbrown` behind `alloc`.
- Enabled compile-time RNG for `ahash` (runtime RNG will preferentially
used in `std` environments)
- Made `thread_local` optional by feature-gating the `Parallel` type.

## Testing

- Ran CI locally.
- `cargo build -p bevy_utils --target "x86_64-unknown-none"
--no-default-features`
2024-10-04 19:25:49 +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
futures.rs Allow bevy_utils in no_std Contexts (#15279) 2024-09-18 16:00:03 +00:00
lib.rs Minor fixes for bevy_utils in no_std (#15463) 2024-10-04 19:25:49 +00:00
object_safe.rs Add mappings to EntityMapper (#13727) 2024-06-08 12:52:23 +00:00
once.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
parallel_queue.rs Allow bevy_utils in no_std Contexts (#15279) 2024-09-18 16:00:03 +00:00
synccell.rs Allow bevy_utils in no_std Contexts (#15279) 2024-09-18 16:00:03 +00:00
syncunsafecell.rs Cleanup the multithreaded executor (#12969) 2024-04-16 02:37:19 +00:00
time.rs Minor fixes for bevy_utils in no_std (#15463) 2024-10-04 19:25:49 +00:00