webtrans-proto

Crates.iowebtrans-proto
lib.rswebtrans-proto
version0.2.0
created_at2025-05-25 02:38:32.745715+00
updated_at2026-01-18 02:19:27.647774+00
descriptionWebTransport protocol primitives shared across webtrans transports.
homepage
repositoryhttps://github.com/foctal/webtrans
max_upload_size
id1687945
size78,355
shellrow (shellrow)

documentation

README

webtrans Crates.io License

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 of quinn.
  • 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.

Commit count: 17

cargo fmt