19 releases (9 breaking)
|0.10.0||Aug 30, 2023|
|0.8.0||Jun 18, 2023|
|0.6.7||Feb 23, 2023|
|0.6.1||Dec 24, 2022|
|0.1.1||Jul 23, 2022|
#1148 in Network programming
399 downloads per month
A crate that allows for easy and fast communication between processes, threads and systems.
This library is available in the following languages:
This crate is similar to
std::sync::mpsc in terms of the API, and most of the documentation
for that module carries over to this crate.
Don't think of these channels as a replacement for
std::sync::mpsc, but as another implementation that works over many different transports.
These channels are meant to be used in combination with network sockets, local sockets, pipes, etc.
The differences are:
- Channels will block, unless the underlying stream is set as non-blocking.
- The amount of messages that can be queued up before reading is dependent on the underlying stream.
- 🚀 Async & Sync API
- 📥 Transparent compression
- 🔑 Transparent authentication with
- ➕ Transparent checksumming with CRC
cbor: Adds support for sending/receiving any type with
crc: Adds support for verifying data with CRC checksums.
flate2: Adds support for compressing data with
hmac: Adds support for cryptographically signing data with
json: Adds support for sending/receiving any type with
statistics: Capture statistic data like: total bytes sent/received, timestamp of last packet, etc
tokio: Adds support for sending/receiving types asynchronously.
cargo default features
serde: Adds support for sending/receiving any type which implements
bincode: Adds support for sending/receiving any type with