You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable bevy_tasks/async-io when async-io is in use (#20653)
# Objective
bevy_tasks has a feature that otherwise goes unused in first-party
crates to enable use of async-io's block_on instead of
futures_lite::block_on. This enables the idle time between tasks to be
used to process async-io's work.
We do actually conditionally use `async-io` in a few locations.
## Solution
Enable the feature when those features are in use.
## Future Work
- [ ] smol-hyper unfortunately pulls in both async-io and
async-executor. If we do end up merging #20331, we may want
notgull/smol-hyper#3 to keep async-executor out
of the dependency tree.
## Testing
CI
0 commit comments