Skip to content

Commit b0065e0

Browse files
committed
refactor: organize dependencies and bump criterion to 0.5
1 parent 8815bb7 commit b0065e0

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

benches/Cargo.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ license = "MIT OR Apache-2.0"
88
autobenches = false
99

1010
[dev-dependencies]
11-
glam = "0.29"
12-
rand = "0.8"
13-
rand_chacha = "0.3"
14-
criterion = { version = "0.3", features = ["html_reports"] }
11+
# Bevy crates
1512
bevy_app = { path = "../crates/bevy_app" }
1613
bevy_ecs = { path = "../crates/bevy_ecs", features = ["multi_threaded"] }
1714
bevy_hierarchy = { path = "../crates/bevy_hierarchy" }
@@ -24,7 +21,14 @@ bevy_render = { path = "../crates/bevy_render" }
2421
bevy_tasks = { path = "../crates/bevy_tasks" }
2522
bevy_utils = { path = "../crates/bevy_utils" }
2623

27-
# make bevy_render compile on linux. x11 vs wayland does not matter here as the benches do not actually use a window
24+
# Other crates
25+
criterion = { version = "0.5.1", features = ["html_reports"] }
26+
glam = "0.29"
27+
rand = "0.8"
28+
rand_chacha = "0.3"
29+
30+
# Make `bevy_render` compile on Linux with x11 windowing. x11 vs. Wayland does not matter here
31+
# because the benches do not actually open any windows.
2832
[target.'cfg(target_os = "linux")'.dev-dependencies]
2933
bevy_winit = { path = "../crates/bevy_winit", features = ["x11"] }
3034

0 commit comments

Comments
 (0)