From c9ec0447f09a86fe8dea91896986399f05a189a4 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 12 Jan 2025 11:44:38 +0200 Subject: [PATCH] Reduce dependencies needed for examples by not using default features In particular, this avoids bevy_audio, which has various system library dependencies. --- examples/animation/Cargo.toml | 4 ++-- examples/blueprints/Cargo.toml | 4 ++-- examples/components/Cargo.toml | 2 +- examples/demo/Cargo.toml | 4 ++-- examples/save_load/Cargo.toml | 4 ++-- testing/bevy_example/Cargo.toml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/animation/Cargo.toml b/examples/animation/Cargo.toml index 9ae6458..d66f101 100644 --- a/examples/animation/Cargo.toml +++ b/examples/animation/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.14", features = ["dynamic_linking"] } +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } blenvy = { path = "../../crates/blenvy" } -rand = "0.8.5" \ No newline at end of file +rand = "0.8.5" diff --git a/examples/blueprints/Cargo.toml b/examples/blueprints/Cargo.toml index 4e68f38..b2f49cb 100644 --- a/examples/blueprints/Cargo.toml +++ b/examples/blueprints/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.14", features = ["dynamic_linking"] } +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } blenvy = { path = "../../crates/blenvy" } -rand = "0.8.5" \ No newline at end of file +rand = "0.8.5" diff --git a/examples/components/Cargo.toml b/examples/components/Cargo.toml index d4bb71a..1086716 100644 --- a/examples/components/Cargo.toml +++ b/examples/components/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.14", features = ["dynamic_linking"] } +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } blenvy = { path = "../../crates/blenvy" } diff --git a/examples/demo/Cargo.toml b/examples/demo/Cargo.toml index afa31b5..92716fd 100644 --- a/examples/demo/Cargo.toml +++ b/examples/demo/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.14", features = ["dynamic_linking"] } +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } blenvy = { path = "../../crates/blenvy" } rand = "0.8.5" -avian3d = "0.1.2" \ No newline at end of file +avian3d = "0.1.2" diff --git a/examples/save_load/Cargo.toml b/examples/save_load/Cargo.toml index e2a8f19..400b3b7 100644 --- a/examples/save_load/Cargo.toml +++ b/examples/save_load/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.14", features = ["dynamic_linking"] } +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } blenvy = { path = "../../crates/blenvy" } serde_json = "1.0.108" @@ -15,4 +15,4 @@ rand = "0.8.5" bevy-inspector-egui = { version = "0.25.1"} [dev-dependencies] -bevy-inspector-egui = { version = "0.25.1"} \ No newline at end of file +bevy-inspector-egui = { version = "0.25.1"} diff --git a/testing/bevy_example/Cargo.toml b/testing/bevy_example/Cargo.toml index 9614ad8..13d44a4 100644 --- a/testing/bevy_example/Cargo.toml +++ b/testing/bevy_example/Cargo.toml @@ -5,11 +5,11 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.14", features = ["dynamic_linking"] } +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking", "bevy_state", "bevy_ui"] } blenvy = { path = "../../crates/blenvy" } #bevy_editor_pls = { version = "0.8" } rand = "0.8.5" json-writer ="0.3" [dev-dependencies] -bevy-inspector-egui = { version = "0.25.1"} \ No newline at end of file +bevy-inspector-egui = { version = "0.25.1"}