1 unstable release

Uses old Rust 2015

0.1.0 Dec 15, 2015

#5 in #delegates

Download history 5190/week @ 2024-09-18 5213/week @ 2024-09-25 4078/week @ 2024-10-02 2787/week @ 2024-10-09 3893/week @ 2024-10-16 4058/week @ 2024-10-23 2916/week @ 2024-10-30 3633/week @ 2024-11-06 2556/week @ 2024-11-13 2492/week @ 2024-11-20 1728/week @ 2024-11-27 3356/week @ 2024-12-04 3955/week @ 2024-12-11 2517/week @ 2024-12-18 2918/week @ 2024-12-25 4158/week @ 2025-01-01

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