21 releases (5 stable)

1.3.1 Oct 11, 2024
1.2.0 Sep 26, 2024
0.15.0 Jul 18, 2024
0.8.1 Mar 18, 2024
0.2.0 Nov 9, 2023

#777 in Network programming

Download history 2/week @ 2024-07-01 127/week @ 2024-07-08 159/week @ 2024-07-15 56/week @ 2024-07-22 122/week @ 2024-07-29 2/week @ 2024-08-12 161/week @ 2024-08-19 13/week @ 2024-08-26 21/week @ 2024-09-16 212/week @ 2024-09-23 69/week @ 2024-09-30 361/week @ 2024-10-07 33/week @ 2024-10-14

675 downloads per month
Used in tquic_tools

Apache-2.0

19MB
522K SLoC

GNU Style Assembly 205K SLoC // 0.0% comments C++ 132K SLoC // 0.2% comments C 77K SLoC // 0.2% comments Assembly 63K SLoC // 0.0% comments Rust 45K SLoC // 0.1% comments

TQUIC

License Build Status codecov docs.rs Website OpenSSF Best Practices

English | 中文

TQUIC is a high-performance, lightweight, and cross-platform library for the IETF QUIC protocol.

Advantages

  • High performance: TQUIC is designed for high performance and low latency. Relevant details can be found in the benchmark result.

  • Pluggable congestion control: TQUIC supports various congestion control algorithms, including CUBIC, BBR, BBRv3, and COPA.

  • Multipath QUIC: TQUIC supports Multipath to enable the simultaneous usage of multiple paths for a single connection.

  • Easy to Use: TQUIC is easy to use. It supports flexible settings and detailed observability.

  • Cross platform: TQUIC runs on almost anything to which Rust compiles. It provides APIs for Rust/C/C++.

  • Powered by Rust: TQUIC is written in a memory safety language and immune to Buffer Overflow vulnerability and other memory-related bugs.

  • High quality: Extensive automated testing, including unit testing, fuzz testing, integration testing, performance benchmarking, interoperability testing, and more.

  • Protocol Compliance: TQUIC has been verified by formal specification using the Ivy tool. It has also passed IETF interoperability tests.

  • Rich features: TQUIC supports all big features conforming with QUIC, HTTP/3 RFCs.

Getting Started

Running the tests

Documentation

Contributing

  • Please create an issue in issue list.
  • Contact Committers/Owners for further discussion if needed.
  • See the CONTRIBUTING file for details.

Communication

License

TQUIC is under the Apache 2.0 license. See the LICENSE file for details.

Dependencies

~9–18MB
~329K SLoC