#io

broadcast

A rustlang adapter for writing to multiple sources

1 unstable release

Uses old Rust 2015

0.1.0 Dec 15, 2015

#127 in #io

Download history 3011/week @ 2020-10-30 1099/week @ 2020-11-06 3047/week @ 2020-11-13 113/week @ 2020-11-20 2562/week @ 2020-11-27 1061/week @ 2020-12-04 2462/week @ 2020-12-11 349/week @ 2020-12-18 56/week @ 2020-12-25 1134/week @ 2021-01-01 654/week @ 2021-01-08 27/week @ 2021-01-15 901/week @ 2021-01-22 120/week @ 2021-01-29 414/week @ 2021-02-05 125/week @ 2021-02-12

9,345 downloads per month
Used in sgxs-tools

MIT license

4KB

broadcast

Build Status Coverage Status

A rustlang adapter for writing to multiple sources, adapted from the standard library's std::io::Write#broadcast 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 broadcaster = writera.broadcast(writerb);

In broadcast this looks like

let broadcaster = broadcast::BroadcastWriter::new(
  writera, writerb
);

Doug Tangren (softprops) 2015

No runtime deps