Apparently, the conditional dependency now works again. lol
This commit is contained in:
parent
81455afb7c
commit
29efae385e
|
@ -54,7 +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"
|
||||||
ws_stream_wasm = "0.7.4"
|
|
||||||
|
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
rustls = "0.21.8"
|
rustls = "0.21.8"
|
||||||
|
@ -69,6 +68,7 @@ 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"] }
|
||||||
tokio-tungstenite = { version = "0.20.1", default-features = false }
|
tokio-tungstenite = { version = "0.20.1", default-features = false }
|
||||||
|
ws_stream_wasm = "0.7.4"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
|
pub use super::*;
|
||||||
use ws_stream_wasm::*;
|
use ws_stream_wasm::*;
|
||||||
|
#[derive(Debug)]
|
||||||
|
pub struct WasmGateway {
|
||||||
|
events: Arc<Mutex<Events>>,
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue