2 releases

0.8.8 Feb 3, 2020
0.8.6 Feb 1, 2020

#63 in #stdio

MIT license

220KB
4K SLoC

flowruntime

Here we define the functions an execution environment (i.e. an app or server where flows are executed using flowrlib) must provide.

These "impure" functions that interact with stdio or the file system that cannot be implemented in the portable flowrlib library, and must be provided by the final executable that links with it.

Runtime functions

Those functions are organized into the following modules, each with multiple functions:

  • args - used to get arguments that flow was invoked with
  • file - used to interact with the file system
  • stdio - used to interact with stdio

lib.rs:

flowruntime is a crate that defines a set of functions for a flow program to interact with the host system, such as files, stdio etc.

Dependencies

~5–8.5MB
~204K SLoC