web-transport-wasm
A wrapper around the WebTransport browser API.
Requirements
web-sys still gates the WebTransport bindings behind --cfg=web_sys_unstable_apis, so this crate
cannot compile without it. The flag can't be enabled by a dependency; it has to come from the final
build. Add it to .cargo/config.toml:
[]
= ["--cfg=web_sys_unstable_apis"]
Or set RUSTFLAGS="--cfg=web_sys_unstable_apis" in the environment. RUSTFLAGS overrides
.cargo/config.toml rather than adding to it, so use one or the other.
Building without the flag fails with a compile_error! pointing back here.