2 releases

new 5.0.0-rc0 May 30, 2023
5.0.0-pre-alpha9 May 20, 2023
5.0.0-pre-alpha7 Apr 24, 2023
5.0.0-pre-alpha6 Feb 5, 2023

#592 in Network programming

Download history 57/week @ 2023-02-11 22/week @ 2023-02-18 17/week @ 2023-02-25 6/week @ 2023-03-04 1/week @ 2023-03-11 3/week @ 2023-03-18 11/week @ 2023-03-25 10/week @ 2023-04-01 7/week @ 2023-04-08 15/week @ 2023-04-15 21/week @ 2023-04-22 5/week @ 2023-04-29 18/week @ 2023-05-06 25/week @ 2023-05-13 41/week @ 2023-05-20 152/week @ 2023-05-27

236 downloads per month
Used in 3 crates

GPL-3.0-or-later

57KB
1.5K SLoC

tuic

Delicately-TUICed 0-RTT proxy protocol

Version Documentation License

Overview

The TUIC protocol specification can be found in SPEC.md. This crate provides the low-level abstract of the TUIC protocol in Rust.

Some optional features that can be enabled:

  • model - Provides a model of the TUIC protocol, with packet fragmentation and task counter built-in. No I/O operation is involved.
  • marshal - Provides methods for (un)marsalling the protocol in sync flavor.
  • async_marshal - Provides methods for (un)marsalling the protocol in async flavor.

The root of the protocol abstraction is the Header.

Semantic Versioning Syntax

5.0.0-rc0
^ ^ ^  ^
| | |  |- Pre-release version
| | |---- Patch version, no breaking changes
| |------ Major version of a specific TUIC protocol version, may have breaking changes
|-------- TUIC protocol version

To avoid breaking changes, import tuic into Cargo.toml using:

tuic = "5.0.*"

License

GNU General Public License v3.0

Dependencies

~0.2–4.5MB
~78K SLoC