PackageTrack
Sign in Get early access

soketto

A websocket protocol implementation.

0.8.1 32M downloads/mo #1627 most downloaded on crates.io paritytech/soketto

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships unpredictably

gaps range from 8 days to 2.3 years

Nearly every release is documented

notes for 17 of 17 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

18 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

18 releases · Jun 2019 to Dec 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 0.8.1 02 Dec 2024
    Release notes

    0.8.1

    • [fixed] ignore I/O error after successful close handshake #115

    Full Changelog: v0.8.0...v0.8.1

    Open source →
    Release notes
    • [fixed] ignore I/O error after successful close handshake #115
    Open source →
  2. 0.8.0 08 Mar 2024
    Release notes

    0.8.0

    • [changed] move to rust 2021 #56
    • [changed] Replace sha-1 v0.9 with sha1 v0.10 #62
    • [changed] Update hyper requirement from v0.14 to v1.0 #99
    • [changed] Update base64 requirement from 0.13 to 0.22 #97
    • [changed] Bump MSRV to 1.71.1.
    • [fixed] doc typo on Client resource field #79
    Open source →
    Release notes
    • [changed] move to rust 2021 #56
    • [changed] Replace sha-1 v0.9 with sha1 v0.10 #62
    • [changed] Update hyper requirement from v0.14 to v1.0 #99
    • [changed] Update base64 requirement from 0.13 to 0.22 #97
    • [changed] Bump MSRV to 1.71.1.
    • [fixed] doc typo on Client resource field #79
    Open source →
  3. 0.7.1 08 Nov 2021
    Release notes
    • [fixed] Advance reader when a too big message is received #54
    Open source →
    Release notes
    • [fixed] Advance reader when a too big message is received #54
    Open source →
  4. 0.7.0 29 Sep 2021
    Release notes
    • [added] Added the handshake::http module and example usage at examples/hyper_server.rs to make using Soketto in conjunction with libraries that use the http types (like Hyper) simpler #45 #48
    • [added] Allow setting custom headers on the client to be sent to WebSocket servers when the opening handshake is performed #47
    Open source →
    Release notes
    • [added] Added the handshake::http module and example usage at examples/hyper_server.rs to make using Soketto in conjunction with libraries that use the http types (like Hyper) simpler #45 #48
    • [added] Allow setting custom headers on the client to be sent to WebSocket servers when the opening handshake is performed #47
    Open source →
  5. 0.6.0 15 Jun 2021
    Release notes
    • [changed] Expose the Origin headers from the client handshake on ClientRequest #35
    • [changed] Update handshake error to expose a couple of new variants (IncompleteHttpRequest and SecWebSocketKeyInvalidLength) #35
    • [added] Add send_text_owned method to Sender as an optimisation when you can pass an owned String in #36
    • [updated] Run rustfmt over the repository, and minor tidy up #41
    Open source →
  6. 0.5.0 27 May 2021
    Release notes
    • Update examples to Tokio 1 #27
    • Update deps and remove unnecessary transients #30
    • Add CLOSE reason handling #31
    • Fix handshake with case-sensible servers #32
    Open source →
  7. 0.4.2 01 Sep 2020
    Release notes
    • Added connection ID to log output (#21).
    • Added ClientRequest::path to access the path requested by the client (See #23 by @mward for details).
    • Updated sha-1 dependency to 0.9 (#24).
    Open source →
  8. 0.4.1 17 Jun 2020
    Release notes
    • Update some dev-dependencies.
    Open source →
  9. 0.4.0 08 Jun 2020
    Release notes
    • Remove all unsafe code blocks.
    • Remove internal use of futures::io::BufWriter.
    • Extension::decode now takes a &mut Vec<u8> instead of a BytesMut.
    • Incoming::Pong contains the PONG payload data slice inline.
    • Data not longer contains application data, but reports only the number of bytes. The actual data is written directly into the &mut Vec<u8> parameter of Receiver::receive or Receiver::receive_data.
    • Receiver::into_stream has been removed.
    Open source →
  10. 0.3.2 22 Jan 2020
    Release notes
    • Bugfix release. Codec::encode_header contained a hidden assumption that a usize would be 8 bytes long, which is obviously only true on 64-bit architectures. See #18 for details.
    Open source →
  11. 0.3.1 30 Dec 2019
    Release notes
    • A method into_inner to get back the socket has been added to handshake::{Client, Server}.
    Open source →
  12. 0.3.0 20 Dec 2019
    Release notes

    Update to use and work with async/await:

    • Connection has been split into a Sender and Receiver pair with async methods to send and receive data or control frames such as Pings or Pongs.
    • connection::into_stream has been added to get a futures::stream::Stream from a Receiver.
    • A connection::Builder has been added to setup connection parameters. handshake::Client and handshake::Server no longer have an into_connection method, but an into_builder one which returns the Builder and allows further configuration.
    • base::Data has been moved to data. In addition data::Incoming supports control frame data.
    • base::Codec no longer implements Encoder/Decoder traits but has inherent methods for encoding and decoding websocket frame headers.
    • base::Frame has been removed. The base::Codec only deals with headers.
    • The handshake module contains separate sub-modules for client and server handshakes. Some handshake related types have been refactored slightly.
    • Extensions decode methods work on &mut BytesMut parameters instead of Data. For encode a new type Storage has been added which unifies different types of data, i.e. shared, unique and owned data.
    Open source →
  13. 0.2.3 19 Aug 2019
    Release notes
    • Maintenance release.
    Open source →
  14. 0.2.2 25 Jun 2019
    Release notes
    • Improved handshake header matching which is now more robust and can cope with repeated header names and comma separated values.
    Open source →
  15. 0.2.1 20 Jun 2019
    Release notes
    • The DEFLATE extension now allows custom maximum window bits for client and server.
    • Fix handling of reserved bits in base codec.
    Open source →
  16. 0.2.0 07 Jun 2019
    Release notes
    • Change Extension trait and add an optional DEFLATE extension (RFC 7692). For now the possibility to use reserved opcodes in extensions is not enabled. The DEFLATE extension does not support setting of window bits other than 15 currently.
    • Limit the max. buffer size in Connection (see Connection::set_max_buffer_size).
    Open source →
  17. 0.1.0 05 Jun 2019
    Release notes

    Initial release.

    Open source →
  18. 0.1.0-alpha.1 04 Jun 2019 pre-release

    Nothing published for this version

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