-
Notifications
You must be signed in to change notification settings - Fork 32
/
Cargo.toml
73 lines (62 loc) · 2.45 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
68
69
70
71
72
73
[package]
authors = ["The Fish Folk Game & Spicy Lobster Developers"]
description = "A 2.5D side-scroller beatemup"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "punchy"
version = "0.1.0"
[workspace]
members = [".", "macros"]
[dependencies.bevy]
default-features = false
features = ["x11", "png", "filesystem_watcher", "bevy_gilrs"]
version = "0.9"
[dependencies]
punchy_macros = { path = "./macros" }
anyhow = "1.0.58"
bevy-parallax = "0.3.0"
bevy_egui = "0.18.0"
bevy_kira_audio = { version = "0.13.0", features = ["mp3"] }
bevy_rapier2d = { version = "0.20.0", features = ["debug-render-2d"] }
egui_extras = "0.20.0"
getrandom = { version = "0.2", features = ["js"] }
iyes_loopless = { version = "0.9.0", features = ["states"] }
rand = "0.8.5"
serde = { version = "1.0.137", features = ["derive"] }
serde_yaml = "0.9.2"
structopt = "0.3.26"
thiserror = "1.0.31"
async-channel = "1.6.1"
bevy_fluent = "0.5.0"
bevy_mod_js_scripting = { git = "https://github.com/jakobhellermann/bevy_mod_js_scripting.git" }
directories = "4.0.1"
fluent = "0.16.0"
fluent_content = "0.0.3"
leafwing-input-manager = { version = "0.7", default-features = false }
once_cell = "1.13.0"
sys-locale = "0.2.1"
unic-langid = "0.9.0"
# Debug tools
bevy-inspector-egui = { version = "0.15.0" }
bevy-inspector-egui-rapier = { version = "0.9.0", features = ["rapier2d"] }
bevy_mod_debugdump = { version = "0.6.0", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = ["Window", "Location", "Storage"] }
[features]
default = []
schedule_graph = ["bevy_mod_debugdump"]
# Enable optimizations for dependencies but not for our code
[profile.dev.package."*"]
debug = false
opt-level = 3
[profile.dev]
# As of Jul/2022, opt-level=1 takes a considerable compilation time; with such configuration,
# profiling a (incremental) build showed that the large part of the time is spent in optimization
# passes.
# Since it's not clear why this happens and how to mitigate it, optimizations are entirely
# disabled.
# It's possible to specify opt-level=1 with lto=false, which is faster, but it's still considerably
# slower than opt-level=0.
[profile.release]
codegen-units = 1 # Improves physics performance for release builds
lto = true