tokio-stdout
Spawn a new thread that writes to stdout using a Tokio encoder.
This is not production-ready:
- Items that are flushed to the sink are not guaranteed to be written to stdout (eek!)
- Errors are not bubbled up correctly
- The user should be able to limit the size of the
BytesMut
- A more thoughful treatment of performance tradeoffs would be nice
extern crate futures;
extern crate tokio_fmt_encoder;
extern crate tokio_io;
extern crate tokio_stdout;
use ;
use SendError;
use iter_ok;
use DebugEncoder;
use spawn_encoder_sink_bounded;
License: MIT/Apache-2.0