clone-stream 0.3.4

Turn any Stream into a cloneable stream where each clone receives all items independently.
Documentation

Clone-Stream

Crates.io Documentation

Turn any Stream into a cloneable stream where each clone receives all items independently.

For more background information, see my slides for a presentation on EuroRust 2025.

Installation

Add to your Cargo.toml:

[dependencies]
clone-stream = "0.3"

Documentation

See the API documentation for examples and usage details.

Contributing

Run tests:

cargo test

Test run a single benchmark pass:

cargo bench --bench fork_clone -- --test

Run standard statistical benchmarks:

cargo bench --bench fork_clone

Run all (including comparative) benchmarks:

cargo bench