-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
74 lines (64 loc) · 2.16 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
[workspace]
members = ["apps/*", "plugins/*"]
[workspace.dependencies]
active_game = { path = "plugins/active-game" }
bot_controller = { path = "plugins/bot-controller" }
client = { path = "plugins/client" }
game = { path = "plugins/game" }
server = { path = "plugins/server" }
ui = { path = "plugins/ui" }
bevy = { version = "0.14", default-features = false }
bevy_mod_try_system = "0.2"
bevy-inspector-egui = "0.25"
bevy_prng = { version = "0.7", features = ["wyrand"] }
bevy_rand = { version = "0.7", features = ["wyrand"] }
bevy_renet2 = { git = "https://github.com/UkoeHB/renet2", rev = "0.0.5" }
bevy_replicon = "0.27"
bevy_replicon_renet2 = { git = "https://github.com/UkoeHB/renet2", rev = "0.0.5" }
renet2 = { git = "https://github.com/UkoeHB/renet2", rev = "0.0.5", default-features = false, features = [
"bevy",
"serde",
] }
sickle_ui = "0.2"
anyhow = "1.0"
rand_core = { version = "0.6" }
serde = "1.0"
thiserror = "1.0"
[package]
name = "wordfight"
version = "0.1.0"
edition = "2021"
authors = ["Sean Sullivan <[email protected]>"]
# Default release setting for wasm since Trunk uses it
[profile.release]
# Compile the entire crate as one unit.
# Slows compile times, marginal improvements.
codegen-units = 1
# Do a second optimization pass over the entire program, including dependencies.
# Slows compile times, marginal improvements.
lto = "thin"
# Optimize with size in mind (also try "z", sometimes it is better).
# Slightly slows compile times, great improvements to file size and runtime performance.
opt-level = "z"
# Strip all debugging information from the binary to slightly reduce file size.
strip = "debuginfo"
# Override some settings for native builds.
[profile.release-native]
# Default to release profile values.
inherits = "release"
# Optimize with performance in mind.
opt-level = 3
# Keep debug information in the binary.
strip = "none"
[features]
default = []
dev = ["dep:bevy-inspector-egui"]
bots = ["dep:bot_controller"]
[dependencies]
# plugins
active_game = { workspace = true }
game = { workspace = true }
bot_controller = { workspace = true, optional = true }
# bevy
bevy = { workspace = true }
bevy-inspector-egui = { workspace = true, optional = true }