bevy/crates/bevy_time/src
Zachary Harrold d921fdc376
Add no_std Support to bevy_time (#17491)
# Objective

- Contributes to #15460

## Solution

- Switched `tracing` for `log` for the atomically challenged platforms
- Setup feature flags as required
- Added to `compile-check-no-std` CI task
- Made `crossbeam-channel` optional depending on `std`.

## Testing

- CI

---

## Notes

- `crossbeam-channel` provides a MPMC channel type which isn't readily
replicable in `no_std`, and is only used for a `bevy_render`
integration. As such, I've feature-gated the `TimeReceiver` and
`TimeSender` types.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2025-01-22 20:02:43 +00:00
..
common_conditions.rs Remove everything except Instant from bevy_utils::time (#17158) 2025-01-05 20:36:08 +00:00
fixed.rs Remove everything except Instant from bevy_utils::time (#17158) 2025-01-05 20:36:08 +00:00
lib.rs Add no_std Support to bevy_time (#17491) 2025-01-22 20:02:43 +00:00
real.rs Create bevy_platform_support Crate (#17250) 2025-01-20 20:45:30 +00:00
stopwatch.rs Remove everything except Instant from bevy_utils::time (#17158) 2025-01-05 20:36:08 +00:00
time.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
timer.rs bevy_time: Apply #![deny(clippy::allow_attributes, clippy::allow_attributes_without_reason)] (#17210) 2025-01-09 06:29:42 +00:00
virt.rs Add no_std Support to bevy_time (#17491) 2025-01-22 20:02:43 +00:00