1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// TODO #![deny(missing_docs)]
//! Runtime library for flow execution. This will be linked with code generated from a flow definition
//! to enable it to be compiled and ran as a native program.
extern crate error_chain;
extern crate flow_impl;
extern crate instant;
extern crate log;
extern crate multimap;
extern crate serde;
extern crate serde_derive;
extern crate serde_json;
extern crate wasmi;
/// `info` offers methods to get information about this library
/// `coordinator` is the module that coordinates the execution of flows submitted to it
/// `lib_manifest` defines the structs for specifying a Library's manifest and methods to load it
/// `function` defines functions that form part of a flow
/// `manifest` is the struct that specifies the manifest of functions in a flow
/// `input` defines the struct for inputs to functions in a flow
/// `loader` is responsible for loading a flow from it's manifest and loading libraries it uses
/// `provider` is a trait that is implemented to provide content to flowrlib in different environments
/// it runs in
/// A module with some utility functions related to urls
/// 'debug_client' is used to connect a debugger to the runtime for debugging of flows
/// and is an optional feature called "debugger"
/// We'll put our errors in an `errors` module, and other modules in this crate will `use errors::*;`
/// to get access to everything `error_chain!` creates.
// Specify the errors we will produce and foreign links
error_chain!