Cargo Features

re_sdk has no features set by default.

[dependencies]
re_sdk = { version = "0.20.2", features = ["data_loaders", "web_viewer"] }
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 webbrowser, re_smart_channel and re_web_viewer_server, server of re_ws_comms

Affects re_sdk::web_viewer, web_viewer::WebViewerConfig