Base game template
This commit is contained in:
parent
d946e026c6
commit
f83c7c0781
7 changed files with 6158 additions and 0 deletions
24
Cargo.toml
24
Cargo.toml
|
|
@ -4,3 +4,27 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
bevy = "0.19.0"
|
||||
chacha20 = { version = "0.10.1", default-features = false, features = ["rng"] }
|
||||
getrandom = "0.4.3"
|
||||
rand = "0.10.2"
|
||||
|
||||
[features]
|
||||
default = ["debug"]
|
||||
debug = ["bevy/debug"]
|
||||
wasm = ["getrandom/wasm_js"]
|
||||
|
||||
# Enable some optimization in development so the game runs well.
|
||||
# Enable more optimization for dependencies because they change less often.
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
package."*".opt-level = 3
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = "thin"
|
||||
|
||||
[profile.wasm-release]
|
||||
inherits = "release"
|
||||
opt-level = "s" # TODO: compare with "z"
|
||||
strip = "debuginfo"
|
||||
|
|
|
|||
Loading…
Reference in a new issue