Popularity
0.8
Stable
Activity
4.2
-
9
2
2

Description

tokio-process-stream is a simple crate that wraps a tokio::process into a tokio::stream

Having a stream interface to processes is useful when we have multiple sources of data that we want to merge and start processing from a single entry point.

This crate provides a futures::stream::Stream wrapper for tokio::process::Child. The main struct is ProcessLineStream, which implements the trait, yielding one Item enum at a time, each containing one line from either stdout (Item::Stdout) or stderr (Item::Stderr) of the underlying process until it exits. At this point, the stream yields a single Item::Done and finishes.

Programming language: Rust
License: MIT License
Tags: Network Programming     Subprocess     Non-blocking     Io     Async     Rust     Tokio    

tokio-process-stream alternatives and similar packages

Based on the "Network programming" category.
Alternatively, view tokio-process-stream alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of tokio-process-stream or a related project?

Add another 'Network programming' Package