5 unstable releases

0.12.0 Nov 4, 2024
0.11.8 Nov 4, 2024
0.11.6 Aug 15, 2024
0.10.8 May 24, 2024
0.10.7 May 3, 2024

#1139 in Network programming

Download history 1538/week @ 2024-08-21 2576/week @ 2024-08-28 1921/week @ 2024-09-04 1722/week @ 2024-09-11 1439/week @ 2024-09-18 1880/week @ 2024-09-25 2190/week @ 2024-10-02 1319/week @ 2024-10-09 2196/week @ 2024-10-16 2580/week @ 2024-10-23 3750/week @ 2024-10-30 2455/week @ 2024-11-06 3093/week @ 2024-11-13 2284/week @ 2024-11-20 3841/week @ 2024-11-27 2877/week @ 2024-12-04

12,576 downloads per month
Used in 29 crates (4 directly)

MIT/Apache

1MB
20K 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

~8–17MB
~326K SLoC