Expand description
Serves the web viewer wasm/html.
§Feature flags
-
__ci
— This crate requiresweb_viewer
to be built. You must build the.wasm
before building the crate, usingpixi run rerun-build-web-release
.If for some reason you need to build this crate without the
web_viewer
being built, and you do not actually need to run it, then you can set either--cfg disable_web_viewer_server
via theRUSTFLAGS
env var, or--features __ci
before building this crate. When set, the crate builds despite the.wasm
being 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__ci
feature 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.