[package]
name = "bevy_snake"
version = "0.1.0"
edition = "2021"

[dependencies]
rand = "0.8.5"


[dependencies.bevy]
version = "0.14.0"
features = ["bevy_dev_tools", "debug_glam_assert"]

# Optimize deps to massively reduce the amount of code being linked in and improve performance
[profile.dev.package."*"]
opt-level = "s"

# Maximum performance for release builds (at the expense of build time)
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
incremental = false
panic = "abort"