-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
67 lines (57 loc) · 1.63 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
56
57
58
59
60
61
62
63
64
65
66
67
workspace = { members = ["tools/ghost_radio"] }
[package]
name = "unhaunter"
version = "0.2.3"
edition = "2021"
default-run = "unhaunter_game"
description = "2D isometric Game about investigating paranormal hauntings"
repository = "https://github.com/deavid/unhaunter/"
license = "Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = "0.13"
rand = { version = "0.8", features = ["small_rng"] }
enum-iterator = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
image = "0.25"
regex = "1.7"
clap = "4.4"
fastapprox = "0.3"
anyhow = "1.0"
ordered-float = { version = "4.2", features = ["serde"] }
bevy-persistent = { version = "0.5", features = ["all"] }
hierarchical_pathfinding = "0.5"
walkdir = "2.5"
glob = "0.3"
thiserror = "1.0"
tiled = { version = "0.11", features = ["wasm"] }
wasm-bindgen = "0.2"
normalize-path = "0.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy_framepace = "0.15"
bevy_dylib = "0.13"
# [target.'cfg(target_arch = "wasm32")'.dependencies]
# Enable only a small amount of optimization in debug mode
[profile.dev]
opt-level = 2
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
# These optimizations for release are trying to target mostly WASM
[profile.release]
debug = false
strip = "debuginfo"
debug-assertions = false
overflow-checks = false
lto = true
codegen-units = 1
opt-level = 3
[[bin]]
name = "unhaunter_game"
path = "src/bin/unhaunter.rs"
[[bin]]
name = "materials"
path = "src/materials.rs"
[lib]
crate-type = ["cdylib", "rlib"]