framous

Crates.ioframous
lib.rsframous
version0.1.6
sourcesrc
created_at2023-07-11 13:57:15.438711
updated_at2024-11-04 11:42:57.099874
descriptionA library sending and receiving packets to and from a Reader/Writer
homepagehttps://github.com/GeoffClements/framous
repositoryhttps://github.com/GeoffClements/framous
max_upload_size
id913801
size16,580
Geoff Clements (GeoffClements)

documentation

https://docs.rs/framous

README

Framous

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.

MIT licensed Crate GitHub last commit Build Status

Commit count: 24

cargo fmt