9 releases

0.11.8 Jan 25, 2024
0.11.7 Jan 18, 2024
0.11.1 Dec 30, 2023

#1752 in Network programming

Download history 2/week @ 2024-06-14 13/week @ 2024-07-05 18/week @ 2024-09-20 48/week @ 2024-09-27

66 downloads per month
Used in squinn

MIT/Apache

1MB
18K SLoC

Low-level protocol logic for the QUIC protoocol

quinn-proto contains a fully deterministic implementation of QUIC protocol logic. It contains no networking code and does not get any relevant timestamps from the operating system. Most users may want to use the futures-based quinn API instead.

The quinn-proto API might be of interest if you want to use it from a C or C++ project through C bindings or if you want to use a different event loop than the one tokio provides.

The most important types are Endpoint, which conceptually represents the protocol state for a single socket and mostly manages configuration and dispatches incoming datagrams to the related Connection. Connection types contain the bulk of the protocol logic related to managing a single connection and all the related state (such as streams).

Dependencies

~3–15MB
~218K SLoC