[package] name = "re_sdk" authors.workspace = true categories = ["visualization", "computer-vision"] description = "Rerun logging SDK" edition.workspace = true homepage.workspace = true include.workspace = true keywords = ["mesh", "plotting", "point-cloud", "robotics", "visualization"] license.workspace = true publish = true readme = "README.md" repository.workspace = true rust-version.workspace = true version.workspace = true [lints] workspace = true [package.metadata.docs.rs] all-features = true [features] default = [] ## Support for using Rerun's data-loaders directly from the SDK. ## ## See our `log_file` example and ## for more information. data_loaders = ["dep:re_data_loader", "dep:re_smart_channel"] ## 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. web_viewer = [ "dep:re_smart_channel", "dep:re_web_viewer_server", "dep:re_ws_comms", "dep:anyhow", "dep:webbrowser", "re_ws_comms?/server", ] [dependencies] re_build_info.workspace = true re_chunk.workspace = true re_log_encoding = { workspace = true, features = ["encoder"] } re_log_types.workspace = true re_log.workspace = true re_memory.workspace = true re_sdk_comms = { workspace = true, features = ["client"] } re_types_core.workspace = true ahash.workspace = true crossbeam.workspace = true document-features.workspace = true itertools.workspace = true once_cell.workspace = true parking_lot.workspace = true thiserror.workspace = true # Optional dependencies re_data_loader = { workspace = true, optional = true } re_smart_channel = { workspace = true, optional = true } re_ws_comms = { workspace = true, optional = true } re_web_viewer_server = { workspace = true, optional = true } anyhow = { workspace = true, optional = true } webbrowser = { workspace = true, optional = true } # Native unix dependencies: [target.'cfg(target_family = "unix")'.dependencies] libc.workspace = true [dev-dependencies] re_data_store.workspace = true ndarray-rand.workspace = true ndarray.workspace = true rand.workspace = true similar-asserts.workspace = true [build-dependencies] re_build_tools.workspace = true