#command #processes #shell #api #channel #directory

currant

A simple library to spawn concurrent shell processes in rust

16 releases

0.2.8 May 26, 2022
0.2.7 May 18, 2022
0.2.6 Mar 30, 2022
0.2.2 Dec 15, 2021
0.1.7 Nov 30, 2021

#467 in Concurrency

37 downloads per month

MIT license

63KB
1K SLoC

Currant

build status

A simple library to spawn concurrent shell processes in rust

Resources

  • See the examples directory for usage examples
  • See docs.rs for API documentation and usage
  • See infrastructure.md for an overview of how it works under the hood

lib.rs:

Run commands in a concurrant manner There are three main components to this API:

  1. Channel-based API: a basic API that passes all messages, errors, and statuses to channels that the caller can consume at their leisure. See [ChannelCommand]
  2. Standard-out based API: an API that prints messages and errors to the console (standard out). See [ConsoleCommand]
  3. Writer-based API: similar to the standard-out API but prints to an arbitrary writer (like a log file) instead. See [WriterCommand]

Dependencies

~2MB
~41K SLoC