clone-stream

Crates.ioclone-stream
lib.rsclone-stream
version0.4.0
created_at2025-04-17 21:51:45.468357+00
updated_at2025-09-25 11:53:41.902078+00
descriptionTurn any Stream into a cloneable stream where each clone receives all items independently.
homepage
repositoryhttps://github.com/wvhulle/clone-stream
max_upload_size
id1638523
size106,279
Willem Vanhulle (wvhulle)

documentation

README

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

cargo add clone-stream

Documentation

See the API documentation for examples and usage details.

Contributing

Run tests:

cargo test

Use the clean_log::log function for simple display of log messages in tests.

Test run a single benchmark pass:

cargo bench --bench fork_clone -- --test

Run standard statistical benchmarks (with detailed output):

cargo bench --bench fork_clone

Run all benchmarks (without performance change output):

cargo bench
Commit count: 128

cargo fmt