Skip to content

Commit

Permalink
update example docs
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Dec 14, 2023
1 parent 311322e commit 0198603
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/rust/stdio/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
//! Demonstrates how to log data to standard output with the Rerun SDK, and then visualize it
//! from standard input with the Rerun Viewer.
//!
//! Usage:
//! ```text
//! echo 'hello from stdin!' | cargo run | rerun -
//! ```

fn main() -> Result<(), Box<dyn std::error::Error>> {
let rec = rerun::RecordingStreamBuilder::new("rerun_example_stdio").stdout()?;
Expand Down

0 comments on commit 0198603

Please sign in to comment.