55 releases (30 breaking)

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

#1141 in WebAssembly

Download history 133/week @ 2024-08-11 348/week @ 2024-08-18 305/week @ 2024-08-25 298/week @ 2024-09-01 150/week @ 2024-09-08 365/week @ 2024-09-15 323/week @ 2024-09-22 447/week @ 2024-09-29 429/week @ 2024-10-06 255/week @ 2024-10-13 636/week @ 2024-10-20 239/week @ 2024-10-27 198/week @ 2024-11-03 227/week @ 2024-11-10 223/week @ 2024-11-17 177/week @ 2024-11-24

836 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

~66–92MB
~1.5M SLoC