Skip to content

Commit

Permalink
fix(perf): Use fork of bevy_simple_tilemap with rayon par_iter featur…
Browse files Browse the repository at this point in the history
…e disabled until PR merged. (#133)

This fixes fishfolk/jumpy#841, can switch back
to original crate once fix is merged upstream of fork.

Change we are introducing is here:
forbjok/bevy_simple_tilemap@master...MaxCWhitehead:bevy_simple_tilemap:v0.11.0
Gates rayon behind feature flag, which we do not use.
  • Loading branch information
MaxCWhitehead committed Jul 29, 2023
1 parent 293ddf6 commit 1ed71c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 80 deletions.
82 changes: 3 additions & 79 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion crates/bones_bevy_renderer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ serde_json = "1.0"
serde_yaml = "0.9"
# TODO: Update when PR merged: https://github.com/forbjok/bevy_simple_tilemap/pull/9
bevy_prototype_lyon = "0.8"
bevy_simple_tilemap = "0.11"
# Disable default features to remove rayon par-iter, is not performant. Once https://github.com/forbjok/bevy_simple_tilemap/pull/17 is merged,
# switch off fork back to original crate.
bevy_simple_tilemap = {git = "https://github.com/MaxCWhitehead/bevy_simple_tilemap.git", default-features = false, branch = "v0.11.0"}


[dependencies.bevy]
default-features = false
Expand Down

0 comments on commit 1ed71c6

Please sign in to comment.