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

#405 in Network programming

Download history 155/week @ 2024-08-18 15/week @ 2024-08-25 4/week @ 2024-09-01 21/week @ 2024-09-15 205/week @ 2024-09-22 73/week @ 2024-09-29 347/week @ 2024-10-06 49/week @ 2024-10-13 2/week @ 2024-10-20 176/week @ 2024-10-27 112/week @ 2024-11-03 26/week @ 2024-11-10 12/week @ 2024-11-17 2/week @ 2024-11-24 507/week @ 2024-12-01

570 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

~7–16MB
~302K SLoC