2 releases
0.0.2 | Sep 22, 2024 |
---|---|
0.0.1 | Sep 15, 2024 |
#8 in #datagram
Used in 3 crates
7KB
51 lines
Datagram
datagram is a Rust library that provides standardized traits for sending, receiving, encoding, and decoding datagram-based messages, such as those used in UDP communication. By defining a set of traits, datagram allows developers to implement custom datagram handling logic tailored to their specific needs.
Features
- Datagram Sending and Receiving: Define custom behaviors for sending and receiving datagrams through traits.
- Encoding and Decoding: Easily encode data before sending and decode received data.
- Protocol Agnostic: Designed to work with any transport protocol that supports datagram-based communication.
Installation
Add datagram to your Cargo.toml:
[dependencies]
datagram = "0.0.1"