This is mostly a copy of ambiso/bevy_websocket_example: https://github.com/ambiso/bevy_websocket_example/tree/main It demonstrates how to hold and use a (Tungstenite) WebSocket in a Bevy app. I've altered it slightly (and skipped impl'ing the send function) to fit my own chatroom dummy target. This is completely useless as a chatroom app, but it's not supposed to be one. Now I can move on to building the actual Pong game!
10 lines
128 B
TOML
10 lines
128 B
TOML
[workspace]
|
|
members = ["client", "server"]
|
|
resolver = "3"
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|