41 releases (19 breaking)

new 0.20.0 Apr 17, 2024
0.19.0 Mar 18, 2024
0.16.0 Dec 28, 2023
0.15.0 Nov 21, 2023
0.4.0-alpha.1 Nov 10, 2022

#1004 in WebAssembly

Download history 21/week @ 2023-12-22 47/week @ 2023-12-29 52/week @ 2024-01-05 56/week @ 2024-01-12 41/week @ 2024-01-19 44/week @ 2024-01-26 4/week @ 2024-02-02 151/week @ 2024-02-09 89/week @ 2024-02-16 73/week @ 2024-02-23 66/week @ 2024-03-01 81/week @ 2024-03-08 356/week @ 2024-03-15 96/week @ 2024-03-22 121/week @ 2024-03-29 125/week @ 2024-04-05

711 downloads per month
Used in wash-cli

Apache-2.0 and LGPL-3.0-or-later

2MB
14K 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, actor, capture, config, context, drain, spier and wait modules with a dependency on async_nats

Dependencies

~47–67MB
~1.5M SLoC