From 0f242eae5d5f693672e5878a72059e11806fc6d6 Mon Sep 17 00:00:00 2001 From: TimJentzsch Date: Thu, 22 Jun 2023 04:57:04 +0200 Subject: [PATCH] Add missing dependencies to `bevy_text` feature (#8920) # Objective - Fixes #8918. - The app should not crash if only the `bevy_text` feature is enabled. ## Solution The `bevy_text` feature now depends on `bevy_asset` and `bevy_sprite`, because it uses resources from these crates. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f02db1d8df..42267ed699 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,7 +95,7 @@ bevy_scene = ["bevy_internal/bevy_scene", "bevy_asset"] bevy_sprite = ["bevy_internal/bevy_sprite", "bevy_render", "bevy_core_pipeline"] # Provides text functionality -bevy_text = ["bevy_internal/bevy_text"] +bevy_text = ["bevy_internal/bevy_text", "bevy_asset", "bevy_sprite"] # A custom ECS-driven UI framework bevy_ui = ["bevy_internal/bevy_ui", "bevy_core_pipeline", "bevy_text", "bevy_sprite"]