[package] name = "linera-alloy-transport-ws" description = "Websocket transport implementation" version.workspace = true edition.workspace = true rust-version.workspace = true authors.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true exclude.workspace = true [lints] workspace = true [dependencies] linera-alloy-pubsub.workspace = true linera-alloy-transport.workspace = true futures.workspace = true serde_json.workspace = true tokio = { workspace = true, features = ["sync", "rt"] } tracing.workspace = true # non-WASM only [target.'cfg(not(target_arch = "wasm32"))'.dependencies] http = "0.2" tokio = { workspace = true, features = ["sync", "rt", "time"] } tokio-tungstenite = { version = "0.20", features = ["rustls-tls-webpki-roots"] } # WASM only [target.'cfg(target_arch = "wasm32")'.dependencies] ws_stream_wasm = "0.7.4"