24 releases (8 stable)

1.6.0 Feb 25, 2025
1.5.0 Nov 8, 2024
1.4.0 Oct 28, 2024
0.15.0 Jul 18, 2024
0.2.0 Nov 9, 2023

#1411 in Network programming

Download history 3/week @ 2024-11-23 159/week @ 2024-11-30 419/week @ 2024-12-07 121/week @ 2024-12-14 10/week @ 2024-12-21 22/week @ 2024-12-28 33/week @ 2025-01-04 22/week @ 2025-01-11 2/week @ 2025-01-18 5/week @ 2025-02-01 5/week @ 2025-02-08 8/week @ 2025-02-15 136/week @ 2025-02-22 39/week @ 2025-03-01 1/week @ 2025-03-08

184 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

~8–16MB
~300K SLoC