web: prototype websocket client

This commit is contained in:
2025-04-14 10:32:17 -07:00
parent b11f6b5149
commit 638d55a36c
4 changed files with 26 additions and 1 deletions

14
Cargo.lock generated
View File

@@ -3097,6 +3097,7 @@ dependencies = [
"uuid",
"wasm-bindgen",
"wasm-bindgen-test",
"wasm-sockets",
"web-sys",
]
@@ -7303,6 +7304,19 @@ dependencies = [
"syn 2.0.100",
]
[[package]]
name = "wasm-sockets"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d14bbe65995269301ab677e5d69b3b69195447c01137ef44f72b10eecea55c77"
dependencies = [
"js-sys",
"log",
"thiserror 1.0.69",
"wasm-bindgen",
"web-sys",
]
[[package]]
name = "web-sys"
version = "0.3.77"