23 releases (7 stable)

1.5.0 Nov 8, 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

#357 in Network programming

Download history 20/week @ 2024-09-18 233/week @ 2024-09-25 35/week @ 2024-10-02 375/week @ 2024-10-09 16/week @ 2024-10-16 151/week @ 2024-10-23 34/week @ 2024-10-30 125/week @ 2024-11-06 8/week @ 2024-11-13 10/week @ 2024-11-20 48/week @ 2024-11-27 329/week @ 2024-12-04 311/week @ 2024-12-11 16/week @ 2024-12-18 7/week @ 2024-12-25 34/week @ 2025-01-01

452 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–17MB
~303K SLoC