Crate re_web_viewer_server
source ·Expand description
Serves the web viewer wasm/html.
§Feature flags
-
__ci— This crate requiresweb_viewerto be built. You must build the.wasmbefore building the crate, usingpixi run rerun-build-web-release.If for some reason you need to build this crate without the
web_viewerbeing built, and you do not actually need to run it, then you can set either--cfg disable_web_viewer_servervia theRUSTFLAGSenv var, or--features __cibefore building this crate. When set, the crate builds despite the.wasmbeing missing, but will panic at runtime. For instance: when the CI builds the docs for all crates, it uses--all-features, which means it can build the docs for this crate without having to build the web-viewer first. We support--feature __ci, because it’s more convenient to use viacargo, and also--cfg disable_web_viewer_server, because it allows us to disable the web viewer server on CI without propagating the__cifeature throughout the entire set of crates that depend on it. -
analytics— Enable telemetry using our analytics SDK.
Structs§
- HTTP host for the Rerun Web Viewer application This serves the HTTP+Wasm+JS files that make up the web-viewer.
- Typed port for use with
WebViewerServer
Enums§
- Failure to host the web viewer.