Rust implementation of the WebTransport protocol for native (QUIC/HTTP3 via Quinn) and WebAssembly (browser WebTransport API) targets.
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.
[dependencies]
webtrans = "0.1"If you want to depend on a specific transport directly, use the crates above instead of webtrans.
See examples
The webtrans-wasm-demo crate contains a small browser demo that connects to an echo server.