Skip to content

Commit 0198603

Browse files
committed
update example docs
1 parent 311322e commit 0198603

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/rust/stdio/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//! Demonstrates how to log data to standard output with the Rerun SDK, and then visualize it
22
//! from standard input with the Rerun Viewer.
3+
//!
4+
//! Usage:
5+
//! ```text
6+
//! echo 'hello from stdin!' | cargo run | rerun -
7+
//! ```
38
49
fn main() -> Result<(), Box<dyn std::error::Error>> {
510
let rec = rerun::RecordingStreamBuilder::new("rerun_example_stdio").stdout()?;

0 commit comments

Comments
 (0)