2 releases

0.10.8 May 24, 2024
0.10.7 May 3, 2024

#2040 in Asynchronous

Download history 206/week @ 2024-05-02 750/week @ 2024-05-09 1768/week @ 2024-05-16 1146/week @ 2024-05-23 1420/week @ 2024-05-30 1028/week @ 2024-06-06 1208/week @ 2024-06-13 1007/week @ 2024-06-20 1565/week @ 2024-06-27

5,235 downloads per month
Used in 12 crates (2 directly)

MIT/Apache

760KB
17K 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

~1–12MB
~145K SLoC