-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
55 lines (45 loc) · 1.32 KB
/
Cargo.toml
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
53
54
55
[package]
name = "astratomic"
description = "A 2D survival game"
version = "0.2.0"
edition = "2021"
license = "PolyForm NonCommercial v1.0"
default-run = "astratomic"
[dependencies]
bevy = {version = "0.15", features =["file_watcher"]}
bevy-inspector-egui = "0.28.1"
rand = { version = "0.9", features = ["small_rng"] }
fastrand = "2.0"
async-channel = "2.1"
smallvec = "1.12"
itertools = "0.14"
serde = "1.0"
serde_derive = "1.0"
bincode = "1.3"
serde-big-array = "0.5"
ron = "0.8"
bevy_async_task = "0.4.0"
contour = "0.13"
bevy_rapier2d = { version = "0.28", features = [ "simd-stable", "debug-render-2d", "parallel" ] }
geo = "0.29"
rotsprite = "0.1"
puffin = "0.19"
thiserror = "2.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy_dylib = "0.15"
# Optimize dependencies even in development
[profile.dev.package."*"]
codegen-units = 1
debug = 1 # Only keep line numbers
opt-level = 3
# Optimize our code a little bit.
[profile.dev]
codegen-units = 256
opt-level = 1
[profile.dev-optimized]
debug = 1
inherits = "dev"
opt-level = 3
[profile.release]
codegen-units = 1 # Improved rapier physics perf, so it might help other stuff, too
lto = true