1 unstable release

Uses old Rust 2015

0.1.0 Dec 15, 2015

#954 in Concurrency

Download history 3560/week @ 2024-12-16 2368/week @ 2024-12-23 3379/week @ 2024-12-30 5402/week @ 2025-01-06 3965/week @ 2025-01-13 3343/week @ 2025-01-20 3699/week @ 2025-01-27 3272/week @ 2025-02-03 3533/week @ 2025-02-10 3766/week @ 2025-02-17 2302/week @ 2025-02-24 2096/week @ 2025-03-03 3717/week @ 2025-03-10 4486/week @ 2025-03-17 4825/week @ 2025-03-24 2694/week @ 2025-03-31

15,773 downloads per month
Used in 7 crates

MIT license

4KB

Tee

Build Status Coverage Status

A rustlang adapter for readers which delegate read bytes to a writer, adapted from the standard library's std::io::Read#tee which has since been deprecated.

api docs

rustdoc api documentation can be found here

examples

The currently unstable/deprecated std library function looks like this

let tee_reader = reader.tee(writer);

In broadcast this looks like

let tee_reader = tee::TeeReader::new(reader, writer);

Doug Tangren (softprops) 2015

No runtime deps