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
//! A crate that implements the functionality behind the wasmCloud shell
//!
//! The `wash` command line interface <https://github.com/wasmCloud/wasmCloud/tree/main/crates/wash-cli> is a great place
//! to find examples on how to fully utilize this library.
//!
//! This library contains a few feature flags, most enabled by default but optional in order to
//! allow consumers to omit some functionality. This is especially useful when considering compiling this
//! library to restrictive targets, e.g. `wasm32-unknown-unknown` or `wasm32-wasi`. Support for `wasm` targets
//! is a goal but has not been tested yet.
//!
//! | Feature Name | Default Enabled | Description |
//! | --- | --- | --- |
//! | start | true | Contains the [start](start) module, with utilities to start wasmCloud runtimes, NATS, and wadm |
//! | parser | true | Contains the [parser](parser) module, with utilities to parse `wasmcloud.toml` files |
//! | cli | false | Contains the build, cli, and generate modules with additional trait derives for usage in building CLI applications |
//! | nats| true| Contains the [app](app) module with a dependency on `async_nats` |

#[cfg(feature = "nats")]
pub mod app;
#[cfg(feature = "cli")]
pub mod build;
#[cfg(feature = "cli")]
pub mod cli;
#[cfg(feature = "cli")]
pub mod generate;
#[cfg(feature = "parser")]
pub mod parser;
#[cfg(feature = "start")]
pub mod start;

pub mod actor;
pub mod capture;
pub mod common;
pub mod config;
pub mod context;
pub mod drain;
pub mod id;
pub mod keys;
pub mod registry;
pub mod spier;
pub mod wait;