1 unstable release

Uses old Rust 2015

0.1.0 Dec 15, 2015

#2 in #rustlang

Download history 1887/week @ 2024-03-15 2944/week @ 2024-03-22 2460/week @ 2024-03-29 3253/week @ 2024-04-05 1532/week @ 2024-04-12 3008/week @ 2024-04-19 2857/week @ 2024-04-26 1686/week @ 2024-05-03 2537/week @ 2024-05-10 3129/week @ 2024-05-17 1860/week @ 2024-05-24 1896/week @ 2024-05-31 2535/week @ 2024-06-07 2188/week @ 2024-06-14 2246/week @ 2024-06-21 1777/week @ 2024-06-28

9,151 downloads per month
Used in 6 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