Skip to content

Commit

Permalink
Disable detailed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
janhohenheim committed Jul 5, 2024
1 parent 23c0391 commit 30b073b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ opt-level = 3

[dependencies]
bevy = "0.14"
# Bevy's dependencies do a lot of detailed logging, so we disable that on compile time to get a performance boost.
log = { version = "0.4", features = ["max_level_debug", "release_max_level_warn"] }

[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen = "0.2"
Expand Down

0 comments on commit 30b073b

Please sign in to comment.