Skip to content

rs-netty v0.2.2

Choose a tag to compare

@PieceOfFall PieceOfFall released this 14 May 13:13
· 17 commits to main since this release

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_instance support 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 test
  • cargo test --features websocket,json

Full Changelog: https://github.com/PieceOfFall/rs-netty/commits/v0.2.2