-
Notifications
You must be signed in to change notification settings - Fork 116
/
Cargo.toml
157 lines (141 loc) · 5.91 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[package]
authors = ["The Fish Fight Game & Spicy Lobster Developers"]
default-run = "jumpy"
description = "A tactical 2D shooter"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "jumpy"
version = "0.12.1"
[features]
default = []
# # Enable to simulate horrible network latency/slowness
# debug-network-slowdown = ["async-timer", "turborand"]
# # Enable bevy tracing scopes in profiling and tracy profiler support.
# profiling-full = ["bevy/trace", "dep:tracing-tracy"]
[dependencies]
bones_framework = { git = "https://github.com/fishfolk/bones", features = ["net-debug"] }
bones_bevy_renderer = { git = "https://github.com/fishfolk/bones" }
bevy_tasks = "0.11"
bitflags = "2.4"
turborand = { version = "0.10.0", features = ["atomic"] }
tracing = "0.1.37"
puffin = { version = "0.17.0", features = ["web"] }
puffin_egui = "0.23.0"
petgraph = "0.6.4"
# Use rapier w/ parry2d 0.13.7 for qbvh crash fix: https://github.com/dimforge/parry/pull/185
rapier2d = { git = "https://github.com/MaxCWhitehead/rapier.git", rev= "29c72c6c282e7c40987c0d0d0ce3089ea019a532", features = ["debug-render", "enhanced-determinism"] }
indexmap = "2.0.0"
serde = { version = "1.0.188", features = ["derive"] }
shiftnanigans = "0.3.3"
humantime-serde = "1.1.1"
ordered-float = "3.9.1"
nalgebra = { version = "0.32", features = ["glam024"] }
once_cell = "1.18.0"
async-channel = "1.9.0"
serde_yaml = "0.9.25"
thiserror = "1.0.48"
peg = "0.8.1"
egui_extras = { version = "0.23.0", default-features = false }
shadow-rs = { version = "0.25.0", default-features = false }
postcard = { version = "1.0", default-features = false, features = ["alloc"] }
strum = { version = "0.25.0", features = ["derive"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy_dylib = "0.11"
bitfield = "0.14"
bytemuck = "1.12"
# anyhow = "1.0"
# async-channel = "1.7"
# bevy_console = "0.7"
# bevy-inspector-egui = { version = "0.18", default-features = false }
# bevy_egui = "0.21.0"
# bevy_fluent = "0.6"
# bevy_framepace = "0.12"
# bevy_kira_audio = { version = "0.15", features = ["ogg"], default-features = false }
# bevy_tweening = { version = "0.7", default-features = false }
# async-timer = { version = "0.7", optional = true }
# bytemuck = "1.12"
# clap = { version = "4.0", features = ["derive", "env"] }
# directories = "5.0"
# downcast-rs = "1.2"
# egui_extras = "0.22.0"
# either = "1.8"
# fluent = "0.16"
# fluent_content = "0.0"
# futures-lite = "1.12"
# getrandom = { version = "0.2", features = ["js"] }
# log = { version = "0.4", features = ["release_max_level_debug"] }
# normalize-path = "0.2"
# once_cell = "1.17"
# peg = "0.8"
# puffin = { version = "0.15", features = ["web"] }
# puffin_egui = "0.21"
# rand = "0.8"
# serde = { version = "1.0", features = ["derive"] }
# serde_yaml = "0.9"
# thiserror = "1.0"
# tracing = { version = "0.1", features = ["release_max_level_debug"] }
# tracing-core = "0.1"
# tracing-log = "0.1"
# tracing-subscriber = "0.3"
# unic-langid = "0.9"
# byte-pool = "0.2.4"
# [dependencies.turborand]
# features = ["atomic"]
# optional = true
# version = "0.10"
# [dependencies.tracing-tracy]
# version = "0.10.0"
# default-features = false
# features = ["enable", "system-tracing", "context-switch-tracing", "code-transfer"]
# optional = true
# [target.'cfg(target_arch = "wasm32")'.dependencies]
# wasm-bindgen = "0.2.83"
# web-sys = { version = "0.3", features = ["Window", "Location", "Storage"] }
# tracing-wasm = "0.2"
# console_error_panic_hook = "0.1"
# js-sys = "0.3"
# chrono = { version = "0.4", default-features = false, features = ["std", "wasmbind"] }
# [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# mimalloc = { version = "0.1", default-features = false }
# # Networking deps
# bitfield = "0.14"
# bones_matchmaker_proto = "0.2"
# bytes = "1.4"
# ggrs = { version = "0.9", features = ["sync-send"] }
# mdns-sd = { version = "0.7", default-features = false }
# numquant = "0.2"
# ping-rs = "0.1"
# postcard = { version = "1.0", features = ["alloc"] }
# quinn = { version = "0.10", default-features = false, features = ["tls-rustls"] }
# rcgen = "0.11.1"
# rustls = { version = "0.21", features = ["dangerous_configuration", "quic"] }
# smallvec = "1.10"
# quinn_runtime_bevy = "0.2"
# 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
[build-dependencies]
shadow-rs = "0.25.0"
[package.metadata.cargo-machete]
ignored = [
"tracing", # Needed to add `release_max_level_debug` feature
"getrandom", # Needed to add `js` feature
]
# # Uncomment for testing during bones development, if you clone bones adjacent to the jumpy
# # repo.
# [patch.'https://github.com/fishfolk/bones']
# bones_framework = { path = "../bones/framework_crates/bones_framework" }
# bones_bevy_renderer = { path = "../bones/framework_crates/bones_bevy_renderer" }