7 releases
| new 0.3.3 | Feb 13, 2026 |
|---|---|
| 0.3.2 | Feb 7, 2026 |
| 0.3.1 | Jan 7, 2026 |
| 0.3.0 | Nov 14, 2025 |
| 0.1.1 | Sep 3, 2025 |
#2185 in Network programming
29,234 downloads per month
Used in 27 crates
(5 directly)
15KB
189 lines
web-transport-trait
WebTransport is a new browser API powered by QUIC intended as a replacement for WebSockets. Most importantly, QUIC supports multiple independent data streams.
This crate provides a WebTransport trait for Send runtimes.
- Quinn: web-transport-quinn
- WebSocket: web-transport-ws
- Quiche+Tokio: TODO
If you don't care about the underyling runtime, use the web-transport crate.
Why Send?
Async traits are awful because you have to choose either Send or !Send.
We could define a separate !Send trait but I currently don't have a use-case for it.
I would like to implement a sans I/O trait at some point for quiche and quinn-proto.
Again, I just currently don't have a use-case, and I'm not even sure how feasible it would be.
Dependencies
~205KB