-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (74 loc) · 2.45 KB
/
Cargo.toml
File metadata and controls
87 lines (74 loc) · 2.45 KB
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
[package]
name = "rsmc"
version = "0.1.1"
edition = "2021"
rust-version = "1.90.0"
[dependencies]
egui = {version = "0.33.3", optional = true}
bevy = "0.17.3"
bevy_asset = "0.17.3"
bevy_camera = "0.17.3"
bevy_mesh = "0.17.3"
bevy_dev_tools = "0.17.3"
bevy_fps_controller = {version = "17.1.0", features = ["avian"]}
avian3d = {version="0.4", features = ["debug-plugin"]}
bevy_flair = "0.6.0"
bevy_egui = { version = "0.38.1", features = ["immutable_ctx"], optional = true}
bevy_diagnostic = "0.17.3"
bevy-inspector-egui = {version = "0.35", features = ["bevy_render"], optional = true}
bevy_renet = "3.0.0"
bevy_mod_billboard = "0.7.0"
renet_visualizer = {version="1.1.0", features=["bevy"], optional = true}
egui_plot = {version = "0.34.0", optional = true}
noise = "0.9.0"
cgmath = "0.18.0"
bincode = "1.3.3"
rand = {version = "0.9.0", features = ["small_rng"]}
renet = "1.2.0"
serde = { version = "1.0.203", features = ["derive"] }
serde-big-array = "0.5.1"
chrono = "0.4.43"
rayon = "1.10.0"
clap = { version = "4.5.54", features = ["derive"] }
toml = "0.9.11"
fastrand = "2.3.0"
[patch.crates-io]
# TODO: Remove patch once egui requirement is more flexible.
# https://github.com/lucaspoffo/renet/blob/master/renet_visualizer/Cargo.toml#L17C1-L17C14
# Patching a single renet subcrate leads to build errors because of cross dependences.
renet_visualizer = {git = "https://github.com/cb341/renet.git" }
bevy_renet = {git = "https://github.com/cb341/renet.git" }
renet = {git = "https://github.com/cb341/renet.git" }
bevy_mod_billboard = {git = "https://github.com/kisya-games/bevy_mod_billboard.git", branch="bevy-0.17"} # TODO: Remove once https://github.com/kulkalkul/bevy_mod_billboard/pull/36 is merged
[profile.dev.package."*"]
opt-level = 3
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true
[[bin]]
name = "client"
path = "src/client/main.rs"
[[bin]]
name = "server"
path = "src/server/main.rs"
[features]
default = ["chat", "dynamic_linking"]
dynamic_linking = ["bevy/dynamic_linking"]
# both
chat = []
# server
renet_visualizer = ["egui_layer", "dep:renet_visualizer", "dep:bevy-inspector-egui"]
generator_visualizer = ["egui_layer", "dep:egui_plot", "dep:bevy-inspector-egui"]
egui_layer = ["dep:bevy_egui", "dep:egui"]
skip_chunk_padding = []
# client
wireframe = []
debug_ui = ["dep:bevy-inspector-egui"]
ortho_camera = []
lock_player = []
physics_debug = []
raycast_debug = []
skip_terrain = []
visual_debug = ["wireframe", "physics_debug", "raycast_debug"]