From fc4a1453e9d93bd0d02a766342992278877d009b Mon Sep 17 00:00:00 2001 From: crawkatt Date: Sat, 7 Oct 2023 16:35:49 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20hotfix:=20Fix=20depende?= =?UTF-8?q?ncies=20for=20the=20examples?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9be2d0e..5f988dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,45 @@ opt-level = 3 [dev-dependencies] bevy = { version = "0.11", default-features = false, features = ["multi-threaded", "bevy_asset", "bevy_winit", "bevy_render", "bevy_sprite", "png"] } +[features] +default = [] +dev = [ + "bevy/bevy_asset", + "bevy/bevy_scene", + "bevy/bevy_winit", + "bevy/bevy_core_pipeline", + "bevy/bevy_render", + "bevy/bevy_sprite", + "bevy/bevy_text", + "bevy/bevy_ui", + "bevy/multi-threaded", + "bevy/png", + "bevy/ktx2", + "bevy/x11", + "bevy/bevy_gizmos", + "bevy/default_font", +] + +[[example]] +name = "custom_skip" +required-features = ["dev"] +path = "./examples/custom_skip.rs" + +[[example]] +name = "layouts" +required-features = ["dev"] +path = "./examples/layouts.rs" + +[[example]] +name = "screens" +required-features = ["dev"] +path = "./examples/screens.rs" + +[[example]] +name = "simple" +required-features = ["dev"] +path = "./examples/simple.rs" + [dependencies] bevy = { version = "0.11", default-features = false } bevy_tweening = "0.8"