Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
This is about the smallest it can be.
Its Unit application config would look like
"applications": {
"rust-hello-world": {
"type": "wasm",
"module": "/path/to/unit-wasm/examples/rust/hello-world/target/wasm32-wasi/debug/rust_hello_world.wasm",
"request_handler": "uwr_request_handler",
"malloc_handler": "luw_malloc_handler",
"free_handler": "luw_free_handler"
}
}
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
This adds a new 'Setup a Suitable Environment' section that replaces the
'Getting Started' section and it's subsections.
This provides a more comprehensive guide to setting up a suitable
environment on some specific systems (currently Fedora/CentOS/RHEL etc
& Debian/Ubuntu).
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
This takes into account the recent porting of the Rust demo applications
to the new 'rusty' wrappers.
The updates relate to the function handler names, the ones provided by
the application now use the uwr_ prefix, the malloc and free handlers
are still using the luw_ prefix as the applications aren't providing
their own versions of those, the ones from libunit-wasm will be used.
This is a useful demonstration of a number of things, but ultimately
that you can call these handlers anything you want.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
Requested-by: Liam Crilly <liam@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
This makes some additions suggested by Liam (I didn't implement them
all, e.g I kept the $ signs in commands) and some changes of my own, e.g
expanded config and curl command in the rust quickstart section.
Suggested-by: Liam Crilly <liam@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
libunit-wasm and example C and Rust WebAssembly modules for NGINX Unit.
Co-developed-by: Timo Stark <t.stark@nginx.com>
Co-developed-by: Liam Crilly <liam@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|