Skip to content

Commit fd6a084

Browse files
committed
Fixed bad module names.
1 parent a993d3e commit fd6a084

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

swimos_client/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const DEFAULT_CLOSE_TIMEOUT: Duration = Duration::from_secs(5);
6868
pub struct WebSocketConfig {
6969
pub max_message_size: usize,
7070
#[cfg(feature = "deflate")]
71-
pub deflate_config: Option<ratchet::DeflateConfig>,
71+
pub deflate_config: Option<ratchet::deflate::DeflateConfig>,
7272
}
7373

7474
impl Default for WebSocketConfig {
@@ -134,7 +134,7 @@ impl SwimClientBuilder {
134134

135135
/// Sets the deflate extension configuration for WebSocket connections.
136136
#[cfg(feature = "deflate")]
137-
pub fn set_deflate_config(mut self, to: ratchet::DeflateConfig) -> SwimClientBuilder {
137+
pub fn set_deflate_config(mut self, to: ratchet::deflate::DeflateConfig) -> SwimClientBuilder {
138138
self.client_config.websocket.deflate_config = Some(to);
139139
self
140140
}
@@ -226,7 +226,7 @@ where
226226
max_message_size: websocket.max_message_size,
227227
});
228228

229-
let provider = ratchet::DeflateExtProvider::with_config(
229+
let provider = ratchet::deflate::DeflateExtProvider::with_config(
230230
websocket.deflate_config.unwrap_or_default(),
231231
);
232232

0 commit comments

Comments
 (0)