binance-rs
binance-rs copied to clipboard
Update tungstenite requirement from 0.21.0 to 0.23.0
Updates the requirements on tungstenite to permit the latest version.
Changelog
Sourced from tungstenite's changelog.
0.23.0
- Disable default features for
rustls
giving the user more flexibility.0.22.0
- Make
url
optional.- Add a builder for convenient headers and subprotocols construction.
- Update
rustls
dependency.0.21.0
- Fix read-predominant auto pong responses not flushing when hitting WouldBlock errors.
- Improve
FrameHeader::format
write correctness.- Update
rustls
to0.22
.- Update
webpki-roots
to0.26
.- Update
rustls-native-certs
to0.7
.- Update
http
to1.0.0
.0.20.1
- Fixes CVE-2023-43669.
0.20.0
- Remove many implicit flushing behaviours. In general reading and writing messages will no longer flush until calling
flush
. An exception is automatic responses (e.g. pongs) which will continue to be written and flushed when reading and writing. This allows writing a batch of messages and flushing once, improving performance.- Add
WebSocket::read
,write
,send
,flush
. Deprecateread_message
,write_message
,write_pending
.- Add
FrameSocket::read
,write
,send
,flush
. Removeread_frame
,write_frame
,write_pending
. Note: Previous use ofwrite_frame
may be replaced withsend
.- Add
WebSocketContext::read
,write
,flush
. Removeread_message
,write_message
,write_pending
. Note: Previous use ofwrite_message
may be replaced withwrite
+flush
.- Remove
send_queue
, replaced with using the frame write buffer to achieve similar results.
- Add
WebSocketConfig::max_write_buffer_size
. Deprecatemax_send_queue
.- Add
Error::WriteBufferFull
. RemoveError::SendQueueFull
. Note:WriteBufferFull
returns the message that could not be written as aMessage::Frame
.- Add ability to buffer multiple writes before writing to the underlying stream, controlled by
WebSocketConfig::write_buffer_size
(default 128 KiB). Improves batch message write performance.- Panic on receiving invalid
WebSocketConfig
.0.19.0
- Update TLS dependencies.
- Exchanging
base64
fordata-encoding
.0.18.0
- Make handshake dependencies optional with a new
handshake
feature (now a default one!).- Return HTTP error responses (their HTTP body) upon non 101 status codes.
0.17.3
... (truncated)
Commits
bef231d
Prepare 0.23.0 release2ebcc1f
Update CHANGELOG0e25483
Set default-features = false for rustls (#427)9d12773
Update CHANGELOGec0e3b9
deps: update rustlsc21281a
Make url as feature and bump version (#419)564f10a
Merge pull request #363 from shotover/master734234a
Update tests/handshake.rsac3ce4d
Merge pull request #1 from Its-Just-Nans/master60c50cd
handshake(server): Make 'create_response_with_body' function more generic- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)