I'm planning to use WebSockets for game networking because it can be used both on native and web environments. I need some time and tools to figure out how to make Bevy hold and use a WebSocket. I've taken the Axum WS text chat for use as a dummy activity so I can build out a Bevy app which implements the text chat behavior.
10 lines
241 B
TOML
10 lines
241 B
TOML
[package]
|
|
name = "pong-server"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
axum = { version = "0.8", features = ["ws"] }
|
|
futures-util = { version = "0.3.31", features = ["std", "sink"] }
|
|
tokio = { version = "1", features = ["full"] }
|