From ef05a54eeec533f8fdf308053f65e5a1f5bd34ff Mon Sep 17 00:00:00 2001 From: Thomas Klapwijk Date: Mon, 30 Sep 2024 16:30:05 +0100 Subject: [PATCH] Adds missing UpgradeResponseParts export (#56) * Adds missing export * Bumps version --- Cargo.toml | 12 ++++++------ ratchet_core/src/handshake/mod.rs | 2 +- ratchet_core/src/lib.rs | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4737b63..76e4aba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,18 +14,18 @@ members = [ ] [workspace.package] -version = "1.2.0" +version = "1.2.1" authors = ["Swim Inc. developers info@swim.ai"] edition = "2021" categories = ["network-programming", "asynchronous", "web-programming::websocket"] license = "Apache-2.0" [workspace.dependencies] -ratchet = { package = "ratchet_rs", version = "1.2.0", path = "ratchet_rs" } -ratchet_core = { version = "1.2.0", path = "ratchet_core" } -ratchet_ext = { version = "1.2.0", path = "ratchet_ext" } -ratchet_deflate = { version = "1.2.0", path = "ratchet_deflate" } -ratchet_fixture = { version = "1.2.0", path = "ratchet_fixture" } +ratchet = { package = "ratchet_rs", version = "1.2.1", path = "ratchet_rs" } +ratchet_core = { version = "1.2.1", path = "ratchet_core" } +ratchet_ext = { version = "1.2.1", path = "ratchet_ext" } +ratchet_deflate = { version = "1.2.1", path = "ratchet_deflate" } +ratchet_fixture = { version = "1.2.1", path = "ratchet_fixture" } url = "2.1.1" http = "1.1.0" diff --git a/ratchet_core/src/handshake/mod.rs b/ratchet_core/src/handshake/mod.rs index de1b544..a589157 100644 --- a/ratchet_core/src/handshake/mod.rs +++ b/ratchet_core/src/handshake/mod.rs @@ -38,7 +38,7 @@ pub use client::{subscribe, subscribe_with, UpgradedClient}; pub use server::{ accept, accept_with, build_response, build_response_headers, handshake, parse_request_parts, response_from_headers, validate_method_and_version, UpgradeRequest, UpgradeRequestParts, - UpgradedServer, WebSocketResponse, WebSocketUpgrader, + UpgradeResponseParts, UpgradedServer, WebSocketResponse, WebSocketUpgrader, }; pub use subprotocols::*; diff --git a/ratchet_core/src/lib.rs b/ratchet_core/src/lib.rs index 96bd5ae..b3609e7 100644 --- a/ratchet_core/src/lib.rs +++ b/ratchet_core/src/lib.rs @@ -81,5 +81,6 @@ pub mod server { pub use crate::handshake::{ build_response, build_response_headers, handshake, parse_request_parts, response_from_headers, validate_method_and_version, UpgradeRequest, UpgradeRequestParts, + UpgradeResponseParts, }; }