forked from fishfolk/jumpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
147 lines (132 loc) · 5.31 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
[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.7.0"
[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" }
bones_bevy_renderer = { git = "https://github.com/fishfolk/bones" }
bevy_tasks = "0.11"
turborand = { version = "0.10.0", features = ["atomic"] }
tracing = "0.1.37"
puffin = "0.16.0"
petgraph = "0.6.4"
rapier2d = { version = "0.17.2", 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 }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
directories = "1.0"
bevy_dylib = "0.11"
# 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
[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" }