bevy/crates/bevy_time
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
..
src Add no_std Support to bevy_time (#17491) 2025-01-22 20:02:43 +00:00
Cargo.toml Add no_std Support to bevy_time (#17491) 2025-01-22 20:02:43 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Time

License Crates.io Downloads Docs Discord

The built-in timekeeping plugin for the Bevy game engine.