1 unstable release

Uses old Rust 2015

0.1.0 Dec 15, 2015

#5 in #delegates

Download history 4518/week @ 2024-07-19 5413/week @ 2024-07-26 4400/week @ 2024-08-02 5571/week @ 2024-08-09 4884/week @ 2024-08-16 4242/week @ 2024-08-23 5230/week @ 2024-08-30 5853/week @ 2024-09-06 4426/week @ 2024-09-13 4822/week @ 2024-09-20 4574/week @ 2024-09-27 4211/week @ 2024-10-04 3677/week @ 2024-10-11 3340/week @ 2024-10-18 3501/week @ 2024-10-25 3967/week @ 2024-11-01

14,879 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