Cargo Features

re_sdk has no features set by default.

[dependencies]
re_sdk = { version = "0.23.0-rc.3", features = ["data_loaders", "web_viewer", "server"] }
data_loaders

Support for using Rerun's data-loaders directly from the SDK.

See our log_file example and https://www.rerun.io/docs/reference/data-loaders/overview for more information.

Enables re_data_loader and re_smart_channel

re_data_loader:

Optional dependencies

web_viewer

Support serving a web viewer over HTTP.

Enabling this inflates the binary size quite a bit, since it embeds the viewer wasm.

For faster & easier builds, a pre-built web-views comes bundled with the crate as a Wasm binary.
Enabling this feature will embed this pre-built web viewer.

However, when building from source in the repository, this feature adds quite a bit to the compile time since it requires compiling and bundling the viewer as wasm.

Enables re_smart_channel, re_web_viewer_server, tokio, and webbrowser

Affects re_sdk::web_viewer, web_viewer::WebViewerConfig

server

Enables re_smart_channel and tokio

Affects re_sdk::grpc_server