rerun

Crates.iorerun
lib.rsrerun
version0.20.3
sourcesrc
created_at2020-08-11 16:08:54.765828
updated_at2024-12-03 18:05:50.566225
descriptionLog images, point clouds, etc, and visualize them effortlessly
homepagehttps://rerun.io
repositoryhttps://github.com/rerun-io/rerun
max_upload_size
id275395
size111,204
Emil Ernerfeldt (emilk)

documentation

README

banner

Latest version Documentation MIT Apache Rerun Discord

Rerun Rust logging SDK

Rerun is an SDK for logging computer vision and robotics data paired with a visualizer for exploring that data over time. It lets you debug and understand the internal state and data of your systems with minimal code.

cargo add rerun
let rec = rerun::RecordingStream::global(rerun::StoreKind::Recording)?;
rec.log("points", &rerun::archetypes::Points3D::new(points).with_colors(colors))?;
rec.log("image", &rerun::archetypes::Image::new(image))?;

Rerun Viewer

Getting started

Library

You can add the rerun crate to your project with cargo add rerun.

To get started, see the examples.

Binary

You can install the binary with cargo install rerun-cli --locked --features nasm.

Note: this requires the nasm CLI to be installed and available in your path. Alternatively, you may skip enabling the nasm feature, but this may result in inferior video decoding performance.

The rerun CLI can act either as a server, a viewer, or both, depending on which options you use when you start it.

Running rerun with no arguments will start the viewer, waiting for an SDK to connect to it over TCP.

Run rerun --help for more.

Running a web viewer

The web viewer is an experimental feature, but you can try it out with:

rerun --web-viewer path/to/file.rrd
Commit count: 5021

cargo fmt