Skip to content

Commit

Permalink
Adds missing UpgradeResponseParts export (#56)
Browse files Browse the repository at this point in the history
* Adds missing export

* Bumps version
  • Loading branch information
SirCipher authored Sep 30, 2024
1 parent b67c064 commit ef05a54
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ members = [
]

[workspace.package]
version = "1.2.0"
version = "1.2.1"
authors = ["Swim Inc. developers [email protected]"]
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"
Expand Down
2 changes: 1 addition & 1 deletion ratchet_core/src/handshake/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;

Expand Down
1 change: 1 addition & 0 deletions ratchet_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}

0 comments on commit ef05a54

Please sign in to comment.