3 releases (breaking)
Uses new Rust 2024
| 0.2.0 | Jan 18, 2026 |
|---|---|
| 0.1.0 | Jan 7, 2026 |
| 0.0.1 | May 25, 2025 |
#19 in #webtransport
Used in webtrans
170KB
3.5K
SLoC
webtrans

Rust implementation of the WebTransport protocol for native (QUIC/HTTP3 via Quinn) and WebAssembly (browser WebTransport API) targets.
Workspace crates
webtrans- top-level facade that selects native (webtrans-quinn) or WASM (webtrans-wasm).webtrans-proto- protocol primitives.webtrans-quinn- native client/server implementation on top ofquinn.webtrans-trait- shared traits for sessions and streams.webtrans-wasm- browser WebTransport bindings for WASM.webtrans-wasm-demo- simple WASM demo crate.
Quick start
[dependencies]
webtrans = "0.1"
If you want to depend on a specific transport directly, use the crates above instead of webtrans.
Native
See examples
WebAssembly
The webtrans-wasm-demo crate contains a small browser demo that connects to an echo server.
Dependencies
~22–47MB
~805K SLoC