mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31:30 +11:00
2c0fb2d8c4
## Description - Tweak the system schedule to be more parallel-friendly and explicit. Dependencies between systems is clearer. - System and resource configuration is better encapsulated in each module by using plugins. The schedule graph for `Main` now looks like this (using `bevy_mod_debugdump`): ![graph](https://user-images.githubusercontent.com/31678482/225321113-0ec4f4dd-86f6-45fe-8158-12a451536770.svg) ### Unresolved - What to do about ambiguous systems? Many systems here are ambiguous because they take `&mut Client`, but the order they write packets isn't really important. Marking them as ambiguous explicitly with `.ambiguous_with*` across module boundaries seems difficult and cumbersome. ## Test Plan Steps: 1. Run examples. Check that I didn't screw up the system order.
11 lines
146 B
TOML
11 lines
146 B
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
exclude = ["rust-mc-bot"]
|
|
resolver = "2"
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|