NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #2566 most downloaded on crates.io
A convenience library for using websockets in WASM
Last release 1 years ago
08 Jun 2025
Ships unpredictably
gaps range from 2 weeks to 2.4 years
Most releases are documented
notes for 15 of 18 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
19 releases · first in 2019
dev: update edition to 2024 Bump version Add Cargo.lock to git Add note about direct sockets protocol fix send binary with target_feature = atomics Do
unreachable!target_feature = atomics by copying the data into
the websocket (thanks @robtfm)One column per quarter.
dev: Changelog and version number. Update github actions. Clippy warnings. On future drop while connecting, close ws and log warning. Fix a bug where
onerror callback could try to be called when it had already been destroyed.WsMeta::connect future is dropped, close websocket and unregister callbacks.
This avoids some ugly error messages in the console. Thanks to @hamchapman for discovering
and solving the issue and @danielhenrymantilla for reviewing the solution.dev: update todo Make WsStream Sync .
WsStream Sync.dev: Rename master branch to release Bump version and changelog. Add a test for Send-ness of WsStream and WsMeta. Fix some documentation warnings. Mak
Send.dev: Bump version and changelog. fix clippy warnings. Switch to asynchronous_codec. Fix external_doc for rustdoc 1.54. Clean up one test. Fix build st
dev: Migrate to github CI. Update pharos to 0.5 Browser change, no longer throw for forbidden port. improve contribution guidelines. Fix small error i
dev: Even without cache it seems to be there. Remove wasm-pack from the cache in CI. Don't publish code with local path deps... Actually run cargo den
dev: Prep release 0.6.1 remove unneeded muts. add deny.toml and improve travis configuration. add more instructions to Cargo.yml Improve readme
mut in recent compiler versions. Travis stable on osx is still on 1.44 and will fail until they upgrade.
dev: (41 commits) fix: to many categories. chore: update changelog. chore: remove debug and trace logs. chore: fix clippy warnings. give up on windows
WsStream is now called WsMeta and WsIo is now called WsStream.
BREAKING CHANGE: WsStream no longer implements AsyncRead/AsyncWrite directly, you have to call into_io().
BREAKING CHANGE: The error type is now renamed to WsErr and is an enum directly instead of having an error kind.
BREAKING CHANGE: Fix: From<MessageEvent> for WsMessage has become TryFrom. This is because things actually could
go wrong here.
Implement tokio AsyncRead/AsyncWrite for WsStream (Behind a feature flag).
delegate implementation of AsyncRead/AsyncWrite/AsyncBufRead to async_io_stream. This allows
sharing the functionality with ws_stream_tungstenite, fleshing it out to always fill and use entire buffers,
polling the underlying stream several times if needed.
only build for default target on docs.rs.
exclude unneeded files from package build.
remove trace and debug statements.
WsMessage now implements From<Vec<u8>> and From<String>.
WsMeta and WsStream are now Send. You should still only use them in a single thread though. This is fine because
WASM has no threads, and is sometimes necessary because all the underlying types of web-sys are !Send.
No longer set a close code if the user doesn't set one.
Fix: Make sure WsStream continues to function correctly if you drop WsMeta.
dev: Workaround matthunz/futures-codec#30 , matthunz/futures-codec#37
- update futures to 0.3.1.
Nothing published for this version
fix some more errors in the readme
BREAKING CHANGE: use the new filter feature from pharos, making NextEvent and WsEventType redundant. Those types have been removed from the library. T…
NextEvent and WsEventType redundant. Those
types have been removed from the library. The observe and method off WsStream now takes a pharos::ObserveConfig to filter event types. Please refer to the documentation of pharos for how to use them.
drop dependencies on async_runtime and failure and switch to std::Error for error handling
Fix incorrect link to changelog in readme
BREAKING CHANGE: Fix: Correctly wake up tasks waiting for a next message if the connection gets closed externally. This prevents these tasks from hang…
WsStream::close now returns a Result, taking into account that if the connection is already
closed, we don't have the CloseEvent. Instead a WsErr of kind WsErrKind::ConnectionNotOpen is returned.
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →