-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (42 loc) · 1.06 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (42 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "rusted-battle"
version = "0.1.0"
edition = "2021"
authors = ["enxov"]
description = "A 2D multiplayer arena brawler built from scratch in Rust"
license = "AGPL-3.0-or-later"
repository = "https://github.com/enxov/rusted-battle"
readme = "README.md"
keywords = ["game", "2d", "multiplayer", "arena", "brawler"]
categories = ["games"]
[dependencies]
# Graphics & Windowing
winit = "0.29"
wgpu = "0.20"
pollster = "0.3"
# Physics
rapier2d = "0.19"
parry2d = "0.14"
# Math
glam = { version = "0.25", features = ["bytemuck"] }
# Memory & Performance
zerocopy = "0.7"
bytemuck = { version = "1.14", features = ["derive"] }
# Asset Loading
image = { version = "0.24", default-features = false, features = ["png", "jpeg"] }
# Utilities
anyhow = "1.0"
thiserror = "1.0"
log = "0.4"
env_logger = "0.11"
[dev-dependencies]
approx = "0.5"
[profile.dev]
opt-level = 1 # Faster compilation with basic optimizations
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.dev.package."*"]
opt-level = 3 # Optimize dependencies even in dev mode