bevy/crates/bevy_asset
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
..
macros Fix the clippy::explicit_iter_loop lint (#9834) 2023-09-19 03:35:22 +00:00
src Allow using async_io::block_on in bevy_tasks (#9626) 2023-09-25 19:59:50 +00:00
Cargo.toml Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00