From 615581370a165645795966ac7c878ff492630ba2 Mon Sep 17 00:00:00 2001 From: Nolan Darilek <nolan@thewordnerd.info> Date: Tue, 1 Jun 2021 21:50:03 -0500 Subject: [PATCH] fix(deps): Don't include Bevy default features when used as a dependency. (#25) Without this change, this plugin pulls in dependencies for Bevy features I don't need when used as a plugin (E.g. the audio feature is enabled even though neither I nor this plugin require it.) All features are re-enabled in `[dev-dependencies]` so examples are unconstrained. --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0487f6e..041da23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,5 +12,7 @@ repository = "https://github.com/zkat/big-brain" homepage = "https://github.com/zkat/big-brain" [dependencies] -bevy = "0.5.0" +bevy = { version = "0.5.0", default-features = false } +[dev-dependencies] +bevy = { version = "0.5.0", default-features = true } \ No newline at end of file -- GitLab