rs-netty v0.2.2
rs-netty v0.2.2
First GitHub release for rs-netty: a lightweight, Tokio-native typed TCP/UDP pipeline framework inspired by Netty.
Highlights
- Typed TCP and UDP pipeline builders with compile-time stage ordering and message type checks.
- TCP server/client and UDP server/client support.
- Built-in codecs for line, length-field, delimiter, fixed-length, byte arrays, MQTT 5, UDP UTF-8, UDP bytes, optional JSON, and optional WebSocket.
#[handler]macro for simple async handler implementations.- Lifecycle hooks, graceful shutdown handles, idle timeout, bounded outbound queues, and optional TCP connection stats.
- TCP client
pipeline_instancesupport for one-shot handler state. - Improved protocol validation for MQTT and WebSocket codecs.
- Expanded rustdoc for codec behavior, transport config, channel writes, flush semantics, and datagram context behavior.
Notes
This is an early 0.x release. The core typed pipeline model is usable, but APIs may still evolve before 1.0.
Verification
cargo testcargo test --features websocket,json
Full Changelog: https://github.com/PieceOfFall/rs-netty/commits/v0.2.2