Network logic

This commit is contained in:
2026-07-25 11:26:41 +02:00
parent 730855ae5d
commit b6fbad773d
8 changed files with 864 additions and 69 deletions
+3 -5
View File
@@ -8,12 +8,10 @@ audiopoker_core = { path = "../core" }
bevy = { version = "0.19", features = ["webgl2"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# wasm-bindgen/web-sys/js-sys/futures: aktuell nur für audio::tts (Web Speech
# API) genutzt. Werden zusätzlich gebraucht, sobald der Client per
# web_sys::WebSocket an den `server` (siehe ../server) angebunden wird -
# das ist noch offen, siehe PLAN.md.
# wasm-bindgen/web-sys/js-sys/futures: für audio::tts (Web Speech API) und
# network (WebSocket-Anbindung an ../server), siehe src/network.rs.
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = ["SpeechRecognition", "SpeechSynthesis", "SpeechSynthesisUtterance", "Window", "HtmlInputElement", "console", "WebSocket", "MessageEvent"] }
web-sys = { version = "0.3", features = ["SpeechRecognition", "SpeechSynthesis", "SpeechSynthesisUtterance", "Window", "HtmlInputElement", "console", "WebSocket", "MessageEvent", "ErrorEvent", "CloseEvent", "Location", "UrlSearchParams"] }
js-sys = "0.3"
futures = "0.3"
rand = "0.8.5"