Expand description
Serves the web viewer wasm/html.
§Feature flags
-
__disable_server— This crate embeds the web viewer.wasm, and so before building this crate you must build the.wasmusingpixi run rerun-build-web-release.If for some reason you need to build this crate without the
.wasmbeing built, then you can do so in one of two ways:- Use
--features __disable_serverwhen building this crate (or--all-features). - Compile with the env-var
RERUN_DISABLE_WEB_VIEWER_SERVER=1
This will cause this crate to build despite the
.wasmbeing missing, BUT it will panic at runtime! For instance: when rustdoc builds the docs for this crates, it uses--all-features, which means it can build the docs for this crate without having to build the web-viewer first. Similarly, our CI will enableRERUN_DISABLE_WEB_VIEWER_SERVER=1before building unit tests, because none of the unit tests actually rely on us serving the.wasmfile. - Use
-
analytics— Enable anonymized telemetry using our analytics SDK.
Structs§
- WebViewer
Server - HTTP host for the Rerun Web Viewer application This serves the HTTP+Wasm+JS files that make up the web-viewer.
- WebViewer
Server Port - Typed port for use with
WebViewerServer
Enums§
- WebViewer
Server Error - Failure to host the web viewer.