
# Objective Attempting to build `bevy_tasks` produces the following error: ``` error[E0599]: no method named `is_finished` found for struct `async_executor::Task` in the current scope --> /[...]]/bevy/crates/bevy_tasks/src/task.rs:51:16 | 51 | self.0.is_finished() | ^^^^^^^^^^^ method not found in `async_executor::Task<T>` ``` It looks like this was introduced along with `Task::is_finished`, which delegates to `async_task::Task::is_finished`. However, the latter was only introduced in `async-task` 4.2.0; `bevy_tasks` does not explicitly depend on `async-task` but on `async-executor` ^1.3.0, which in turn depends on `async-task` ^4.0.0. ## Solution Add an explicit dependency on `async-task` ^4.2.0.
24 lines
568 B
TOML
24 lines
568 B
TOML
[package]
|
|
name = "bevy_tasks"
|
|
version = "0.9.0-dev"
|
|
edition = "2021"
|
|
description = "A task executor for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[dependencies]
|
|
futures-lite = "1.4.0"
|
|
async-executor = "1.3.0"
|
|
async-channel = "1.4.2"
|
|
async-task = "4.2.0"
|
|
once_cell = "1.7"
|
|
concurrent-queue = "1.2.2"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
[dev-dependencies]
|
|
instant = { version = "0.1", features = ["wasm-bindgen"] }
|