bevy/crates/bevy_internal
Pixelstorm 503b861e3a
Allow using async_io::block_on in bevy_tasks (#9626)
# Objective

Fixes #9625

## Solution

Adds `async-io` as an optional dependency of `bevy_tasks`. When enabled,
this causes calls to `futures_lite::future::block_on` to be replaced
with calls to `async_io::block_on`.

---

## Changelog

- Added a new `async-io` feature to `bevy_tasks`. When enabled, this
causes `bevy_tasks` to use `async-io`'s implemention of `block_on`
instead of `futures-lite`'s implementation. You should enable this if
you use `async-io` in your application.
2023-09-25 19:59:50 +00:00
..
src Remove TypeRegistry re-export rename (#9807) 2023-09-14 19:10:57 +00:00
Cargo.toml Allow using async_io::block_on in bevy_tasks (#9626) 2023-09-25 19:59:50 +00:00