Skip to content

Update the README pointing to wasm-wasi-component #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
**NOTE: You may wish to checkout the wasm-wasi-component language module
instead.**

This is an SDK for the Unit wasm language module which only supports
WebAssembly modules. If you wish to run wasi-http/proxy components then you
should have a look at the
[wasm-wasi-component](https://unit.nginx.org/configuration/#unit-wasm-wasm-wasi-component)
language module instead.

However there are some caveats with wasm-wasi-component.

* First and foremost this language module is written in rust and thus requires
the rust ecosystem if building from source which can be heavy on resources.

* It can use significantly more memory than the original wasm module.

* It can't ingress or egress more than about 4GiB of data.


# C & Rust Library & Examples for Building WebAssembly Modules for NGINX Unit

This provides a C library (lbunit-wasm) and Rust crates based on that library
Expand Down
Loading