Skip to content

Commit

Permalink
Update thiserror to 2
Browse files Browse the repository at this point in the history
Update dev-dependencies
Update changelog
  • Loading branch information
alexheretic authored and daniel-abramov committed Dec 15, 2024
1 parent f2cae6a commit abe0e11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Unreleased
- Update `thiserror` to `2`.

# 0.25.0

- New `Payload` type for `Message` that allows sending messages with a payload that can be cheaply cloned (`Bytes`).
Long standing [issue](https://github.com/snapview/tungstenite-rs/issues/96) solved!
- Trim spaces on `Sec-WebSocket-Protocol` header.
- Eliminate data copies when reading complete messages & optimise read buffer. Improves performance.

# 0.24.0

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ httparse = { version = "1.3.4", optional = true }
log = "0.4.8"
rand = "0.8.0"
sha1 = { version = "0.10", optional = true }
thiserror = "1.0.23"
thiserror = "2.0.7"
url = { version = "2.1.0", optional = true }
utf-8 = "0.7.5"

Expand Down Expand Up @@ -65,7 +65,7 @@ version = "0.26"

[dev-dependencies]
criterion = "0.5.0"
env_logger = "0.10.0"
env_logger = "0.11"
input_buffer = "0.5.0"
rand = "0.8.4"
socket2 = "0.5.5"
Expand Down

0 comments on commit abe0e11

Please sign in to comment.