forked from fishfolk/punchy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
74 lines (64 loc) · 2.43 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
74
[package]
name = "punchy"
version = "0.1.0"
description = "A 2.5D side-scroller beatemup"
authors = ["The Fish Fight Game & Spicy Lobster Developers"]
license = "MIT OR Apache-2.0"
edition = "2021"
[workspace]
members = [
".",
"macros"
]
[dependencies]
punchy_macros = { path = "./macros" }
anyhow = "1.0.58"
bevy = "0.7.0"
bevy-parallax = "0.1.2"
bevy_egui = "0.14"
egui_extras = "0.18.0"
bevy_kira_audio = { version = "0.10.0", features = ["mp3"] }
bevy_rapier2d = { version = "0.14.1", features = ["debug-render"] }
iyes_loopless = "0.6.1"
serde = { version = "1.0.137", features = ["derive"] }
serde_yaml = "0.8.24"
thiserror = "1.0.31"
structopt = "0.3.26"
rand = "0.8.5"
getrandom = { version = "0.2", features = ["js"] }
bevy_mod_debugdump = { version = "0.4", optional = true }
bevy-inspector-egui = { version = "0.11", optional = true }
bevy-inspector-egui-rapier = { version = "0.4", optional = true, features = ["rapier2d"] }
leafwing_input_manager = { git = "https://github.com/zicklag/leafwing-input-manager.git", branch = "backport-leafwing-dev-to-bevy-0.7" }
unic-langid = "0.9.0"
bevy_fluent = { git = "https://github.com/kgv/bevy_fluent", rev = "d41f514" }
sys-locale = "0.2.1"
fluent = "0.16.0"
directories = "4.0.1"
async-channel = "1.6.1"
once_cell = "1.13.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = ["Window","Location","Storage"] }
[features]
default = []
debug = ["bevy-inspector-egui", "bevy-inspector-egui-rapier"]
schedule_graph = ["bevy_mod_debugdump"]
# Enable optimizations for dependencies but not for our code
[profile.dev.package."*"]
opt-level = 3
debug = false
[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]
lto = true
codegen-units = 1 # Improves physics performance for release builds
[patch.crates-io]
# Patch to enable improved DPad support. It's a merge of the following PR to Bevy 0.7.0 so we can
# use it before 0.8 is release: https://github.com/bevyengine/bevy/pull/5220.
bevy_gilrs = { git = "https://github.com/zicklag/bevy.git", branch = "v0.7.0-dpad-patch" }