2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#235 in WebSocket

Download history 169/week @ 2024-06-24 13/week @ 2024-07-01 2/week @ 2024-07-15 3/week @ 2024-08-12 20/week @ 2024-08-26 1/week @ 2024-09-02 3/week @ 2024-09-09 22/week @ 2024-09-16 155/week @ 2024-09-23 66/week @ 2024-09-30 8/week @ 2024-10-07

251 downloads per month
Used in 5 crates (4 directly)

Apache-2.0

715KB
17K SLoC

SwimOS Transport Layer

This crate provides the transport layer for SwimOS (bidirectional web-socket connections over TCP sockets). It consists of:

  • An abstraction over DNS to allow for the resolution of remote hosts of Swim agents.
  • A networking abstraction with basic implementation for unencrypted traffic over TCP sockets.
  • An optional implementation of the networking abstraction using TLS encryption.
  • Bindings to use the ratchet web-socket library on top of the networking abstraction.
  • A Tokio task to manage a bidirectional web-socket and handle communication with the core SwimOS runtime.

Dependencies

~16–29MB
~462K SLoC