123 releases (18 breaking)
new 0.19.1 | Nov 5, 2024 |
---|---|
0.19.0 | Oct 17, 2024 |
0.17.0 | Jul 8, 2024 |
0.15.0-alpha.5 | Mar 29, 2024 |
0.1.6 | Aug 26, 2020 |
#8 in Visualization
20,166 downloads per month
Used in 15 crates
(14 directly)
4MB
41K
SLoC
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))?;
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
This 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
Dependencies
~18–66MB
~1M SLoC