Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
channels
features of loco depends on socketioxide. However it currently depends on an old version of the crate. Bumpingthis deps imply breaking changes.
One of the main issue with this update is that starting from v0.12 socketioxide requires a MSRV of 0.75.
Therefore this will be mergeable only for the next loco version. The new version includes importants fixes and some new features:
If this gets accepted I'll also update the chat example https://github.com/loco-rs/chat-rooms.
0.13.1
engineioxide
0.13.0
socketioxide
delete_ns
fn was deadlocking the entire server when called from inside adisconnect_handler
.delete_ns
is now gracefully closing the adapter as well as all its sockets before being removed.Bytes
rather thanVec<u8>
to represent binary payloads. This allow to avoid unnecessary copies.futures-util
andfutures-core
rather than the wholefutures
crate.engineioxide
Bytes/Str
rather thanVec<u8>
andString
to represent payloads. This allow to avoid unnecessary copies.futures-util
andfutures-core
rather than the wholefutures
crate.0.12.0
MSRV: Minimum supported Rust version is now 1.75.
socketioxide
SocketRef
extractor is nowClone
. Be careful to drop clones when the socket is disconnected to avoid any memory leak.0.11.1
socketioxide
0.11.0
socketioxide
Operators
andBroadcastOperators
in order to split logic and fn signatures between broadcast and non-broadcast operators.engineioxide
0x4
was not added to the binary payload withws
transport.base64
to 0.22.0.