| Crates.io | web-transport-quiche |
| lib.rs | web-transport-quiche |
| version | 0.0.3 |
| created_at | 2025-11-14 22:30:48.485038+00 |
| updated_at | 2026-01-24 00:09:18.723715+00 |
| description | WebTransport library for Quiche |
| homepage | |
| repository | https://github.com/moq-dev/web-transport |
| max_upload_size | |
| id | 1933613 |
| size | 205,470 |
A wrapper around the Quiche, abstracting away the annoying API and HTTP/3 internals. Provides a QUIC-like API but with web support!
This library builds on top of tokio-quiche; the "official" Tokio runtime for quiche.
To be blunt, tokio-quiche is a mess.
quiche-ez is a wrapper around tokio-quiche that provides an async API.
It tries to cover as many warts as possible but it's still limited by the poor tokio_quiche API.
For example, it's only possible to provide a single TLS certificate and it needs to be on disk.
If this library becomes popular, I can spin quiche-ez off into a separate crate that performs the Tokio networking itself.
It should result in better performance too.
WebTransport is a new web API that allows for low-level, bidirectional communication between a client and a server. It's available in the browser as an alternative to HTTP and WebSockets.
WebTransport is layered on top of HTTP/3 which itself is layered on top of QUIC. This library hides that detail and exposes only the QUIC API, delegating as much as possible to the underlying QUIC implementation (quiche).
QUIC provides two primary APIs:
QUIC streams are ordered, reliable, flow-controlled, and optionally bidirectional. Both endpoints can create and close streams (including an error code) with no overhead. You can think of them as TCP connections, but shared over a single QUIC connection.
QUIC datagrams are unordered, unreliable, and not flow-controlled. Both endpoints can send datagrams below the MTU size (~1.2kb minimum) and they might arrive out of order or not at all. They are basically UDP packets, except they are encrypted and congestion controlled.
To use web-transport-quiche, figure it out yourself lul.