Guest User

Untitled

a guest
Dec 28th, 2024
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. [package]
  2. name = "graph_game"
  3. version = "0.1.0"
  4. edition = "2021"
  5.  
  6. [dependencies]
  7. bevy = { version = "0.15.0", features = ["dynamic_linking"] }
  8. log = { version = "*", features = ["max_level_debug", "release_max_level_warn"] }
  9.  
  10. # Enable a small amount of optimization in the dev profile.
  11. [profile.dev]
  12. opt-level = 1
  13.  
  14. # Enable a large amount of optimization in the dev profile for dependencies.
  15. [profile.dev.package."*"]
  16. opt-level = 3
  17.  
  18. # Enable more optimization in the release profile at the cost of compile time.
  19. [profile.release]
  20. # Compile the entire crate as one unit.
  21. # Slows compile times, marginal improvements.
  22. codegen-units = 1
  23. # Do a second optimization pass over the entire program, including dependencies.
  24. # Slows compile times, marginal improvements.
  25. lto = "thin"
  26.  
  27. # Optimize for size in the wasm-release profile to reduce load times and bandwidth usage on web.
  28. [profile.wasm-release]
  29. # Default to release profile values.
  30. inherits = "release"
  31. # Optimize with size in mind (also try "z", sometimes it is better).
  32. # Slightly slows compile times, great improvements to file size and runtime performance.
  33. opt-level = "s"
  34. # Strip all debugging information from the binary to slightly reduce file size.
  35. strip = "debuginfo"
Advertisement
Add Comment
Please, Sign In to add comment