Apparently, the conditional dependency now works again. lol
This commit is contained in:
parent
b03d6b45a4
commit
fc6a45b4fc
|
@ -54,7 +54,6 @@ sqlx = { version = "0.7.1", features = [
|
|||
], optional = true }
|
||||
safina-timer = "0.1.11"
|
||||
rand = "0.8.5"
|
||||
ws_stream_wasm = "0.7.4"
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
rustls = "0.21.8"
|
||||
|
@ -69,6 +68,7 @@ hostname = "0.3.1"
|
|||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
getrandom = { version = "0.2.11", features = ["js"] }
|
||||
tokio-tungstenite = { version = "0.20.1", default-features = false }
|
||||
ws_stream_wasm = "0.7.4"
|
||||
|
||||
[dev-dependencies]
|
||||
lazy_static = "1.4.0"
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
pub use super::*;
|
||||
use ws_stream_wasm::*;
|
||||
#[derive(Debug)]
|
||||
pub struct WasmGateway {
|
||||
events: Arc<Mutex<Events>>,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue