From 7e128f3259a240d0ce3609aa7adfa09e1e1b2690 Mon Sep 17 00:00:00 2001 From: Graeme Coupar Date: Wed, 3 Jan 2024 12:26:57 +0000 Subject: [PATCH] Update async-tungstenite (#55) --- CHANGELOG.md | 4 ++++ Cargo.toml | 4 ++-- examples/Cargo.toml | 2 +- src/lib.rs | 2 -- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab6e635..ae5a207 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ all APIs might be changed. ## Unreleased - xxxx-xx-xx +### Breaking Changes + +- `async_tungstenite` dependency has been updated to 0.24 + ## v0.6.0 - 2023-10-01 ### Breaking Changes diff --git a/Cargo.toml b/Cargo.toml index 41d4a8a..a8470c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ thiserror = "1.0" uuid = { version = "1.0", features = ["v4"] } cynic = { version = "3", optional = true } -async-tungstenite = { version = "0.23", optional = true } +async-tungstenite = { version = "0.24", optional = true } graphql_client = { version = "0.13.0", optional = true } ws_stream_wasm = { version = "0.7", optional = true } @@ -44,7 +44,7 @@ pharos = { version = "0.5.2", optional = true } assert_matches = "1.5" async-graphql = "5.0.10" async-graphql-axum = "5" -async-tungstenite = { version = "0.23", features = ["tokio-runtime"] } +async-tungstenite = { version = "0.24", features = ["tokio-runtime"] } axum = "0.6" cynic = { version = "3" } futures-util = "0.3" diff --git a/examples/Cargo.toml b/examples/Cargo.toml index feefb19..8172f30 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -13,7 +13,7 @@ async_executors = { version = "0.7", features = ["async_std"] } cynic = { version = "3" } futures = { version = "0.3"} -async-tungstenite = { version = "0.23", features = ["async-std-runtime", "tokio-runtime"] } +async-tungstenite = { version = "0.24", features = ["async-std-runtime", "tokio-runtime"] } tokio = { version = "1.15", features = ["rt-multi-thread", "macros"] } [dependencies.graphql-ws-client] diff --git a/src/lib.rs b/src/lib.rs index 9b1199c..866a872 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -36,8 +36,6 @@ pub use wasm::*; #[cfg(feature = "async-tungstenite")] mod native; -#[cfg(feature = "async-tungstenite")] -pub use native::*; pub use client::{AsyncWebsocketClient, AsyncWebsocketClientBuilder, Error, SubscriptionStream};