diff --git a/kaminari/Cargo.toml b/kaminari/Cargo.toml index 0de5530..e425fff 100644 --- a/kaminari/Cargo.toml +++ b/kaminari/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kaminari" -version = "0.5.2" +version = "0.5.3" edition = "2021" authors = ["zephyr "] keywords = ["lightws", "network"] @@ -10,7 +10,7 @@ description = "The ever fast websocket tunnel built on top of lightws." license = "MIT" [dependencies] -lightws = "0.6" +lightws = { version = "0.6.2", features = ["unsafe_auto_mask_write"] } tokio = "1" tokio-rustls = { version = "0.23.3", features = ["early-data", "dangerous_configuration"] } webpki-roots = "0.22.3" diff --git a/kaminari/src/ws.rs b/kaminari/src/ws.rs index cdb575e..b3ca9ef 100644 --- a/kaminari/src/ws.rs +++ b/kaminari/src/ws.rs @@ -104,7 +104,6 @@ where ) .await? .guard(); - Ok(stream) } }