Skip to content

Commit

Permalink
Remove bevy-inspector-egui from deps
Browse files Browse the repository at this point in the history
  • Loading branch information
djeedai committed Feb 21, 2024
1 parent a275b07 commit f397c51
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ gpu_tests = []

# Enable world inspector in examples, via bevy-inspector-egui.
# This has no effect on the crate itself, only affects examples.
examples_world_inspector = [ "dep:bevy-inspector-egui" ]
# Unfortunately cargo doesn't allow example-only features.
# We don't force a dependency on the bevy-inspector-egui crate because:
# 1. dev-dependencies cannot be optional
# 2. there's a bunch of duplicate deps and dodgy licenses pulled
examples_world_inspector = []

[dependencies]
bytemuck = { version = "1", features = ["derive"] }
Expand All @@ -46,11 +50,6 @@ thiserror = "1.0"
naga = "0.19"
naga_oil = { version = "0.13", default-features = false, features = ["test_shader"] }

# For world inspector in examples only.
# Unfortunately cargo doesn't support features for examples, so it's "promoted" here
# as a crate feature. But this has no influence on the actual crate.
bevy-inspector-egui = { version = "0.23", optional = true }

[dependencies.bevy]
version = "0.13"
default-features = false
Expand All @@ -63,6 +62,9 @@ all-features = true
# Same versions as Bevy 0.13 (bevy_render)
wgpu = "0.19.1"

# For world inspector; required if "examples_world_inspector" is used.
bevy-inspector-egui = "0.23"

# For procedural texture generation in examples
noise = "0.8"

Expand Down

0 comments on commit f397c51

Please sign in to comment.