From cf7358cc44a910a660ac5b7210d4bf866674d6b3 Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Fri, 17 Mar 2023 22:28:08 +0000 Subject: [PATCH] Move features needed for animated_fox exameple into baseline dev deps. --- Cargo.toml | 9 +++++---- README.md | 3 +-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 33b8bcb..4f6429b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,11 @@ thiserror = "1.0" [dev-dependencies] bevy = { version = "0.10", default-features = false, features = [ + "animation", + "bevy_gltf", + "bevy_scene", "bevy_winit", + "png", "x11", ] } @@ -45,7 +49,4 @@ path = "examples/render_layers.rs" [[example]] name = "animated_fox" -path = "examples/animated_fox.rs" -required-features = [ - "bevy/animation", "bevy/bevy_gltf", "bevy/png", "bevy/bevy_scene" -] +path = "examples/animated_fox.rs" \ No newline at end of file diff --git a/README.md b/README.md index 7280e8e..088f1b9 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,7 @@ cargo run --example render_layers An animated jointed model with an outline. ```shell -cargo run --features="bevy/animation bevy/bevy_gltf bevy/png bevy/bevy_scene" \ - --example animated_fox +cargo run --example animated_fox ``` ## Versions