From 05c88d299910de171e7b502be298948cebb6224f Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Thu, 2 Nov 2023 08:14:28 +0100 Subject: [PATCH 1/2] Set default-features = false for bevy --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d360807..dcc51a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,9 @@ inspect = ["bevy-inspector-egui"] serialize = ["serde"] [dependencies] -bevy = { version = "0.11" } +bevy = { version = "0.11", default-features = false, features = [ + "bevy_render", + "bevy_ui" +] } bevy-inspector-egui = { version = "0.19", optional = true } serde = { version = "^1", features = ["derive"], optional = true } From 853d23f4000aa8286e416f0657c4ad48c5dc3b74 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Thu, 2 Nov 2023 08:18:52 +0100 Subject: [PATCH 2/2] Add bevy as a dev dependency so examples work --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index dcc51a6..9074ab3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,3 +32,6 @@ bevy = { version = "0.11", default-features = false, features = [ ] } bevy-inspector-egui = { version = "0.19", optional = true } serde = { version = "^1", features = ["derive"], optional = true } + +[dev-dependencies] +bevy = "0.11" \ No newline at end of file