PackageTrack
Sign in Get early access

async-tungstenite

Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation

0.35.0 24M downloads/mo #1916 most downloaded on crates.io sdroege/async-tungstenite

What this package is like to depend on

Last release 26 days ago

28 Jul 2026

Ships fairly regularly

a new release about every 2 months

Most releases are documented

notes for 43 of 58 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

58 releases · first in 2019

6 releases in the last 12 months

see the full history below

Release timeline

58 releases · Nov 2019 to Jul 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 58
  1. 0.35.0 28 Jul 2026
    Release notes

    Fixed

    • Fix docs.rs build.

    Changed

    • Update to tungstenite 0.30.
    • Update to rustls-platform-verifier 0.7.
    • Switch examples from async-std to smol.
    • Deprecate async-tls and async-std related features.
    Open source →
  2. 0.34.1 02 May 2026
    Release notes

    Added

    • New futures-rustls features for rustls support via the smol runtime.

    Fixed

    • Various docs and cargo-feature related fixes.

    Changed

    • Add deprecation notice for async-std.
    Open source →
  3. 0.34.0 20 Mar 2026
    Release notes

    Changed

    • Update to tungstenite 0.29.
    • Update to async-native-tls 0.6.

    Added

    • smol runtime support including smol-native-tls.
    Open source →
  4. 0.33.0 20 Feb 2026
    Release notes

    Changed

    • Update GLib/gio support to version 0.22 of the bindings.
    • Update MSRV to 1.85.
    Open source →
  5. 0.32.1 05 Jan 2026
    Release notes

    Added

    • Add tokio-rustls-platform-verifier feature to use that crate for certificate verification.
    Open source →
  6. 0.32.0 31 Oct 2025
    Release notes

    Changed

    • Update to tungstenite 0.28.

    Added

    • Add WebSocketStream::into_inner() to get the underlying stream.
    Open source →
  7. 0.31.0 09 Aug 2025
    Release notes

    Changed

    • WebSocketSender::send() and close() require a mutable reference now.
    Open source →
  8. 0.30.0 15 Jul 2025
    Release notes

    Changed

    • Update to tungstenite 0.27.
    • Update to webpki-roots to 1.0.
    • Update to glib / gio 0.21.

    Added

    • Add support for splitting a WebSocketStream into a sender and receiver type without making use of the future's Sink trait, and re-combining them again into a single value.
    Open source →
  9. 0.29.1 18 Feb 2025
    Release notes

    Added

    • Added wrappers that allow treating a WebSocket as a byte stream. ByteWriter allows using any Sink<Stream> as an AsyncWrite. ByteReader allows using any Stream<Item = tungstenite::Result<Message>> as an AsyncRead.

      Note that ByteReader will treat all bytes received as uniform, including for instance the contents of Close or Ping/Pong messages; if you need to handle the contents of a Close, don't use this.

      You may want to wrap these in a BufWriter or BufReader for efficiency.

    Open source →
  10. 0.29.0 17 Feb 2025
    Release notes

    Changed

    • Update to tungstenite 0.26.
    Open source →
  11. 0.28.2 15 Dec 2024
    Release notes

    Fixed

    • Add alloc feature to futures_task dependency to make sure futures-task::ArcWake is available.
    Open source →
  12. 0.28.1 10 Dec 2024
    Release notes

    Added

    • Added WebSocketStream::send() and make the Sink impl and futures_util dependency optional.

    Changed

    • Update MSRV to 1.64
    • Revert workaround from 0.26.2 for futures_task::ArcWake, which is fixed in 0.3.31.
    Open source →
  13. 0.28.0 04 Sep 2024
    Release notes

    Changed

    • Update to tungstenite 0.24.
    • Update to rustls-native-certs 0.8.
    • Update MRSV to 1.63.
    Open source →
  14. 0.27.0 17 Jul 2024
    Release notes

    Changed

    • Update glib / gio dependencies to 0.20.
    Open source →
  15. 0.26.2 17 Jun 2024
    Release notes

    Fixed

    • Work around bug related to futures_task::ArcWake, which causes busy looping because of spurious waker "changes" caused by creating the same waker with different vtables.
    Open source →
  16. 0.26.1 06 Jun 2024
    Release notes

    Added

    • New url feature that maps to the corresponding feature from tungstenite and allows connecting directly to ws / wss URLs.
    Open source →
  17. 0.26.0 03 Jun 2024
    Release notes

    Changed

    • Update to tungstenite 0.23.
    • Don't include default features for various dependencies.
    Open source →
  18. 0.25.1 03 Apr 2024
    Release notes

    Fixed

    • Fix tokio support for async-tls.
    Open source →
  19. 0.25.0 09 Feb 2024
    Release notes

    Changed

    • Update to glib/gio 0.19.
    • Update to async-tls 0.13.
    Open source →
  20. 0.24.0 08 Dec 2023
    Release notes

    Changed

    • Update MSRV from 1.70 to 1.61.
    • Update to tungstenite 0.21.
    • Update to webpki-roots 0.26.
    • Update tokio-rustls to 0.25 and rustls-native-certs to 0.7.
    • Update example to hyper 1.0.
    Open source →
  21. 0.23.0 08 Aug 2023
    Release notes

    Changed

    • Update to tungstenite 0.20.
    • Update to webpki-roots 0.25.
    • Update to glib/gio 0.18.
    • Update MSRV to 1.70.

    Fixed

    • Gracefully handle invalid native root certificates
    • Do not flush on every poll_ready() call.
    Open source →
  22. 0.22.2 20 May 2023
    Release notes

    Added

    • New tokio-rustls-manual-roots feature for dropping the dependency on webpki-roots.
    Open source →
  23. 0.22.1 08 May 2023
    Release notes

    Fixed

    • Fix poll_flush on a closed connection.

    Changed

    • Add MSRV to Cargo.toml and check it with the CI.
    Open source →
  24. 0.22.0 27 Apr 2023
    Release notes

    Changed

    • Update to tokio-rustls 0.24
    Open source →
  25. 0.21.0 12 Apr 2023
    Release notes

    Changed

    • Update to tungstenite 0.19
    • Update to async-native-tls 0.5 and webpki-roots 0.23

    Changed

    • gio::accept_async() API for the gio integration similar to the existing API for tokio and async-std
    • Added an echo server example using gio
    Open source →
  26. 0.20.0 10 Feb 2023
    Release notes

    Changed

    • Update to gio/glib 0.17.
    • Update to async-tls 0.12 and env-logger 0.10.
    Open source →
  27. 0.19.0 11 Dec 2022
    Release notes

    Changed

    • Update to tungstenite 0.18 and make the "handshake" feature optional but enabled by default.
    Open source →
  28. 0.18.0 24 Oct 2022
    Release notes

    Changed

    • Update to gio/glib 0.16.
    Open source →
  29. 0.17.2 23 Mar 2022
    Release notes

    Fixed

    • The Stream implementation on WebSocketStream now implements FusedStream and will always return None after an error was returned or the stream was closed cleanly.
    • Fix autobahn testsuite.
    Open source →
  30. 0.17.1 01 Mar 2022
    Release notes

    Fixed

    • Fix poll_close returning WouldBlock error kind.
    • Fix a couple of minor clippy warnings.
    Open source →
  31. 0.17.0 17 Feb 2022
    Release notes

    Changed

    • Update to tungstenite 0.17.
    • Update to gio/glib 0.15.
    • Update to async-native-tls 0.4.
    Open source →
  32. 0.16.1 06 Dec 2021
    Release notes

    Fixed

    • Fix connecting to URLs containing plain IPv6 addresses in brackets.
    Open source →
  33. 0.16.0 06 Nov 2021
    Release notes

    Changed

    • Update to tungstenite 0.16, rusttls 0.20, tokio-rustls 0.23, etc.
    Open source →
  34. 0.15.0 09 Sep 2021
    Release notes

    Fixed

    • Reduce crate package size.
    • Fix and clean up autobahn tests.

    Changed

    • Update to tungstenite 0.15.
    Open source →
  35. 0.14.0 05 Jul 2021
    Release notes

    Changed

    • Remove tokio-rustls feature and replace with tokio-rustls-webpki-roots and tokio-rustls-native-certs features that allow selecting the certificate checking backend.
    • Add verbose-logging feature that enables more verbose logging via the log crate, which was enabled by default before.
    • Update gio-runtime feature to glib/gio 0.14.

    Added

    • Make client_async_tls_with_connector_and_config() a public function to allow creating a WebSocket connection from a Stream.
    Open source →
  36. 0.13.1 23 Mar 2021
    Release notes

    Fixed

    • The connect API using the tokio-openssl TLS implementation was broken in previous versions as no TLS connection was established before trying to establish the WebSocket connection. As such, connections always failed. Technically this is a breaking change when using this feature but in practice this a) wouldn't have worked anyway and b) it's unlikely someone uses the API in a way that would stop compiling now.
    Open source →
  37. 0.13.0 13 Feb 2021
    Release notes

    Changed

    • Updated to tungstenite 0.13
    Open source →
  38. 0.12.0 09 Jan 2021
    Release notes

    Changed

    • Updated tungstenite to version 0.12
    • Migrated from pin-project to pin-project-lite
    • TokioAdapter is now created via TokioAdapter::new
    Open source →
  39. 0.11.0 30 Dec 2020
    Release notes

    Changed

    • Updated tokio to version 1.0
    • Updated async-tls to version 0.11
    Open source →
  40. 0.10.0 22 Oct 2020
    Release notes

    Changed

    • Updated tokio to version 0.3
    Open source →
  41. 0.9.3 19 Oct 2020
    Release notes

    Fixed

    • Configure the server trust anchors for tokio-rustls
    Open source →
  42. 0.9.2 17 Oct 2020
    Release notes

    Added

    • Implemented the tokio::client_async_tls* functions for async-tls and tokio-rustls

    Changed

    • Updated pin-project to version 1
    Open source →
  43. 0.9.1 13 Oct 2020

    Nothing published for this version

  44. 0.9.0 12 Oct 2020

    Nothing published for this version

  45. 0.8.0 27 Jul 2020

    Nothing published for this version

  46. 0.7.1 08 Jul 2020

    Nothing published for this version

  47. 0.7.0 29 Jun 2020

    Nothing published for this version

  48. 0.6.0 18 Jun 2020

    Nothing published for this version

  49. 0.5.0 22 May 2020

    Nothing published for this version

  50. 0.4.2 25 Mar 2020

    Nothing published for this version

  51. 0.4.1 24 Mar 2020

    Nothing published for this version

  52. 0.4.0 01 Feb 2020

    Nothing published for this version

  53. 0.3.1 06 Jan 2020

    Nothing published for this version

  54. 0.3.0 05 Jan 2020

    Nothing published for this version

  55. 0.2.1 12 Dec 2019

    Nothing published for this version

  56. 0.2.0 29 Nov 2019

    Nothing published for this version

  57. 0.1.1 29 Nov 2019

    Nothing published for this version

  58. 0.1.0 15 Nov 2019
    Release notes

    -->

    <!-- [0.9.1]: https://github.com/sdroege/async-tungstenite/compare/0.9.1...0.9.0 [0.9.0]: https://github.com/sdroege/async-tungstenite/compare/0.9.0...0.8.0 [0.8.0]: https://github.com/sdroege/async-tungstenite/compare/0.8.0...0.7.1 [0.7.1]: https://github.com/sdroege/async-tungstenite/compare/0.7.1...0.7.0 [0.7.0]: https://github.com/sdroege/async-tungstenite/compare/0.7.0...0.6.0 [0.6.0]: https://github.com/sdroege/async-tungstenite/compare/0.6.0...0.5.0 [0.5.0]: https://github.com/sdroege/async-tungstenite/compare/0.5.0...0.4.2 [0.4.2]: https://github.com/sdroege/async-tungstenite/compare/0.4.2...0.4.1 [0.4.1]: https://github.com/sdroege/async-tungstenite/compare/0.4.1...0.4.0 [0.4.0]: https://github.com/sdroege/async-tungstenite/compare/0.4.0...0.3.1 [0.3.1]: https://github.com/sdroege/async-tungstenite/compare/0.3.1...0.3.0 [0.3.0]: https://github.com/sdroege/async-tungstenite/compare/0.3.0...0.2.1 [0.2.1]: https://github.com/sdroege/async-tungstenite/compare/0.2.1...0.2.0 [0.2.0]: https://github.com/sdroege/async-tungstenite/compare/0.2.0...0.1.1 [0.1.1]: https://github.com/sdroege/async-tungstenite/compare/0.1.1...0.1.0 [0.1.0]: https://github.com/sdroege/async-tungstenite/releases/tag/v0.1.0 -->

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive