From 31d2b6539c3b201a9c81340fb6244507f35b0f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Mockers?= Date: Tue, 18 Mar 2025 01:52:31 +0100 Subject: [PATCH] remove circular dependency between bevy_image and bevy_core_pipeline (#18377) # Objective - https://github.com/bevyengine/bevy/pull/17887 introduced a circular dependency between bevy_image and bevy_core_pipeline - This makes it impossible to publish Bevy ## Solution - Remove the circular dependency, reintroduce the compilation failure - This failure shouldn't be an issue for users of Bevy, only for users of subcrates, and can be workaround - Proper fix should be done with https://github.com/bevyengine/bevy/issues/17891 - Limited compilation failure is better than publish failure --- crates/bevy_image/Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/bevy_image/Cargo.toml b/crates/bevy_image/Cargo.toml index 70813a3055..b05218c3ea 100644 --- a/crates/bevy_image/Cargo.toml +++ b/crates/bevy_image/Cargo.toml @@ -16,7 +16,7 @@ bevy_reflect = ["dep:bevy_reflect", "bevy_math/bevy_reflect"] # Image formats basis-universal = ["dep:basis-universal"] bmp = ["image/bmp"] -dds = ["ddsfile", "bevy_core_pipeline/dds"] +dds = ["ddsfile"] exr = ["image/exr"] ff = ["image/ff"] gif = ["image/gif"] @@ -80,7 +80,6 @@ half = { version = "2.4.1" } [dev-dependencies] bevy_ecs = { path = "../bevy_ecs", version = "0.16.0-dev" } bevy_sprite = { path = "../bevy_sprite", version = "0.16.0-dev" } -bevy_core_pipeline = { path = "../bevy_core_pipeline", version = "0.16.0-dev" } [lints] workspace = true