2023-04-08 22:26:14 +00:00
|
|
|
[package]
|
|
|
|
name = "client"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2023-04-09 01:35:25 +00:00
|
|
|
wasm-bindgen = "0.2"
|
|
|
|
js-sys = "0.3"
|
2023-04-09 15:25:42 +00:00
|
|
|
web-sys = { version = "0.3", features = ["CanvasRenderingContext2d", "Document", "Element", "HtmlCanvasElement", "Window"]}
|
|
|
|
console_log = { version = "1", features = ["color"] }
|
|
|
|
log = "0.4"
|
|
|
|
futures = { version = "0.3", default-features = false }
|
|
|
|
wasm-bindgen-futures = "0.4"
|
2023-04-09 16:58:44 +00:00
|
|
|
url = "2.3"
|
|
|
|
protocol = { version = "0.1.0", path = "../protocol" }
|
|
|
|
rmp-serde = "1.1"
|
|
|
|
ws_stream_wasm = "0.7"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|