Skip to content

Commit

Permalink
fix(deps): Don't include Bevy default features when used as a depende…
Browse files Browse the repository at this point in the history
…ncy. (zkat#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.
  • Loading branch information
ndarilek authored and payload committed Sep 16, 2021
1 parent 05309e5 commit 7dc40d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +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 }

0 comments on commit 7dc40d8

Please sign in to comment.