55 releases (30 breaking)

new 0.31.1 Nov 9, 2024
0.30.0 Oct 23, 2024
0.22.2 Jul 25, 2024
0.19.0 Mar 18, 2024
0.4.0-alpha.1 Nov 10, 2022

#1062 in WebAssembly

Download history 599/week @ 2024-07-27 197/week @ 2024-08-03 126/week @ 2024-08-10 314/week @ 2024-08-17 324/week @ 2024-08-24 299/week @ 2024-08-31 150/week @ 2024-09-07 370/week @ 2024-09-14 296/week @ 2024-09-21 485/week @ 2024-09-28 401/week @ 2024-10-05 280/week @ 2024-10-12 617/week @ 2024-10-19 257/week @ 2024-10-26 87/week @ 2024-11-02 329/week @ 2024-11-09

1,332 downloads per month
Used in wash-cli

Apache-2.0 and LGPL-3.0-or-later

2MB
19K SLoC

crates.io 

wash Library

A crate that implements the functionality behind the wasmCloud shell.

The wash command line interface wash is a great place to find examples on how to fully utilize this library.


lib.rs:

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] module, with utilities to start wasmCloud runtimes, NATS, and wadm
parser true Contains the [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], [component], [capture], [config], [context], [drain], [spier] and [wait] modules with a dependency on async_nats

Dependencies

~65–88MB
~1.5M SLoC