forked from spicylobstergames/astratomic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (39 loc) · 1.15 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
[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.12", features =["file_watcher"]}
bevy-inspector-egui = "0.22"
rand = { version = "0.8.5", features = ["small_rng"] }
fastrand = "2.0.1"
async-channel = "2.1.0"
smallvec = "1.11.2"
itertools = "0.12.0"
serde = "1.0"
serde_derive = "1.0"
bincode = "1.3.3"
serde-big-array = "0.5.1"
ron = "0.8.1"
bevy-async-task = "1.3.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy_dylib = "0.12.1"
# 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