Add wasm-bindgen to Cargo.toml
This commit is contained in:
parent
0b58347628
commit
8c385ee39e
|
@ -205,7 +205,6 @@ dependencies = [
|
|||
"lazy_static",
|
||||
"log",
|
||||
"native-tls",
|
||||
"pharos",
|
||||
"poem",
|
||||
"rand",
|
||||
"regex",
|
||||
|
@ -223,6 +222,7 @@ dependencies = [
|
|||
"tokio",
|
||||
"tokio-tungstenite",
|
||||
"url",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-test",
|
||||
"ws_stream_wasm",
|
||||
]
|
||||
|
|
|
@ -54,10 +54,6 @@ sqlx = { version = "0.7.1", features = [
|
|||
], optional = true }
|
||||
safina-timer = "0.1.11"
|
||||
rand = "0.8.5"
|
||||
# TODO: Remove the below 3 imports for production!
|
||||
ws_stream_wasm = "0.7.4"
|
||||
pharos = "0.5.3"
|
||||
wasm-bindgen-test = "0.3.38"
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
rustls = "0.21.8"
|
||||
|
@ -72,8 +68,9 @@ hostname = "0.3.1"
|
|||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
getrandom = { version = "0.2.11", features = ["js"] }
|
||||
ws_stream_wasm = "0.7.4"
|
||||
wasm-bindgen-test = "0.3.38"
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
lazy_static = "1.4.0"
|
||||
wasm-bindgen-test = "0.3.38"
|
||||
wasm-bindgen = "0.2.88"
|
||||
|
|
Loading…
Reference in New Issue