/stream-rs

A library for streaming text to stdout with configurable delay

Primary LanguageRustMIT LicenseMIT

stream-rs

License

A library for streaming text with a configurable delay.

Demo

Made using asciinema.

Usage

# Cargo.toml
[dependencies]
stream = { git = "https://github.com/waymobetta/stream-rs" }
// main.rs
use stream::stream_str;

stream_str("we built this city on rock and roll", 50);

Example

cargo run --example main

MIT