From 464e2871c7c4731275793843e157f3108a9be39b Mon Sep 17 00:00:00 2001 From: Mincong Lu <139340600+mintlu8@users.noreply.github.com> Date: Thu, 22 Feb 2024 03:34:39 +0800 Subject: [PATCH] Update async-channel to 2.2.0 (#12004) # Objective bevy 0.13 does not compile with async_channel 2.1.0 See https://cdn.discordapp.com/attachments/1208557723973591051/1208557724229439518/image.png?ex=65e3b817&is=65d14317&hm=b0eccc620b3239d3f1c9ffff70aa6f149d3546a47fcd14f70ab5c0667144ecf5& ## Solution Update async_channel to 2.2.0 --- crates/bevy_ecs/Cargo.toml | 2 +- crates/bevy_render/Cargo.toml | 2 +- crates/bevy_tasks/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/bevy_ecs/Cargo.toml b/crates/bevy_ecs/Cargo.toml index 77baf32dc3..e2d025dfee 100644 --- a/crates/bevy_ecs/Cargo.toml +++ b/crates/bevy_ecs/Cargo.toml @@ -22,7 +22,7 @@ bevy_tasks = { path = "../bevy_tasks", version = "0.13.0" } bevy_utils = { path = "../bevy_utils", version = "0.13.0" } bevy_ecs_macros = { path = "macros", version = "0.13.0" } -async-channel = "2.1.0" +async-channel = "2.2.0" fixedbitset = "0.4.2" rustc-hash = "1.1" downcast-rs = "1.2" diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index c1bb39ba5b..9b4d2e003d 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -93,7 +93,7 @@ encase = { version = "0.7", features = ["glam"] } profiling = { version = "1", features = [ "profile-with-tracing", ], optional = true } -async-channel = "2.1.0" +async-channel = "2.2.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/crates/bevy_tasks/Cargo.toml b/crates/bevy_tasks/Cargo.toml index 88d8b102d7..f63d74c356 100644 --- a/crates/bevy_tasks/Cargo.toml +++ b/crates/bevy_tasks/Cargo.toml @@ -14,7 +14,7 @@ multi-threaded = [] [dependencies] futures-lite = "2.0.1" async-executor = "1.7.2" -async-channel = "2.1.0" +async-channel = "2.2.0" async-io = { version = "2.0.0", optional = true } async-task = "4.2.0" concurrent-queue = "2.0.0"