mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
ee9a1503ed
# Objective - Update async channel to v2. ## Solution - async channel doesn't support `send_blocking` on wasm anymore. So don't compile the pipelined rendering plugin on wasm anymore. - Replaces https://github.com/bevyengine/bevy/pull/10405 ## Migration Guide - The `PipelinedRendering` plugin is no longer exported on wasm. If you are including it in your wasm builds you should remove it. ```rust #[cfg(all(not(target_arch = "wasm32"))] app.add_plugins(bevy_render::pipelined_rendering::PipelinedRenderingPlugin); ``` --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
29 lines
627 B
TOML
29 lines
627 B
TOML
[package]
|
|
name = "bevy_tasks"
|
|
version = "0.12.0"
|
|
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"]
|
|
|
|
[features]
|
|
multi-threaded = []
|
|
|
|
[dependencies]
|
|
futures-lite = "2.0.1"
|
|
async-executor = "1.7.2"
|
|
async-channel = "2.1.0"
|
|
async-io = { version = "2.0.0", optional = true }
|
|
async-task = "4.2.0"
|
|
concurrent-queue = "2.0.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
[dev-dependencies]
|
|
web-time = { version = "0.2" }
|
|
|
|
[lints]
|
|
workspace = true
|