# Enable a small amount of optimization in debug mode [profile.dev] opt-level = 1 debug = 1 # Enable only a small amount of debug info. Also decreases compile times. # Enable high optimizations for dependencies (incl. Bevy), but not for our code: [profile.dev.package."*"] opt-level = 3 [profile.release] lto = "thin" opt-level = "s" # Optimize for size strip = true # Strip symbols & debug info