| Crates.io | framous |
| lib.rs | framous |
| version | 0.1.8 |
| created_at | 2023-07-11 13:57:15.438711+00 |
| updated_at | 2025-06-16 19:17:03.567354+00 |
| description | A library for sending and receiving packets to and from a Reader/Writer |
| homepage | https://github.com/GeoffClements/framous |
| repository | https://github.com/GeoffClements/framous |
| max_upload_size | |
| id | 913801 |
| size | 20,243 |
This package is inspired by the codec module from tokio::util but, unlike tokio,
is designed to work with non-async code.
The intended use case for this crate is when you need to send and receive frames of data via some add-hoc byte-orientated protocol, usually but not necessarily, over TCP.
It supports the sending of user-defined message structures by encoding them to a
byte-orientated frame through a user-defined Encoder.
Conversely, it supports the receiving of byte-oriented frames and decoding them through
a user-defined Decoder into messages as understood by the application.
This is a low-dependency, light-weight crate.