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