[package] name = "cross-websocket" version = "0.1.3" edition = "2018" license = "MIT OR Apache-2.0" description = "A cross platform websocket client" homepage = "https://github.com/Hihaheho/Desk/tree/main/crates/libs/cross-websocket" repository = "https://github.com/Hihaheho/Desk" readme = "README.md" keywords = ["websocket", "wasm", "native", "cross-platform"] categories = ["network-programming", "web-programming::websocket"] [dependencies] eyre = "0.6" futures = "0.3" thiserror = "1.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio-tungstenite = { version = "0.15", features = ["native-tls"] } tokio = "1" [target.'cfg(target_arch = "wasm32")'.dependencies] ws_stream_wasm = { version = "0.7" }