wasmlet-cli

Crates.iowasmlet-cli
lib.rswasmlet-cli
version0.0.2
created_at2025-06-17 15:22:45.397856+00
updated_at2025-08-06 18:10:40.561412+00
descriptionHigh-performance, embeddable WebAssembly execution engine
homepagehttps://github.com/rvolosatovs/wasmlet
repositoryhttps://github.com/rvolosatovs/wasmlet
max_upload_size
id1715891
size265,709
Roman Volosatovs (rvolosatovs)

documentation

README

WebAssembly execution engine

This is just a PoC for now, to try it out, try this from the root of the repo:

$ export DYLD_LIBRARY_PATH=target/release # on macOS
$ cargo build -p example-f1 --target wasm32-wasip2 --release
$ cargo build -p example-f2 --target wasm32-wasip2 --release
$ cargo build -p example-memdb --target wasm32-wasip2 --release
$ cargo build -p example-redis --target wasm32-wasip2 --release
$ cargo build -p example-redis-http --target wasm32-wasip2 --release
$ cargo build -p example-sockets --target wasm32-wasip2 --release
$ cargo build -p example-hello
$ cargo run -- run --http-proxy 127.0.0.1:8080
$ curl -H "X-Wasmlet-Id: redis-http" "localhost:8080/set?key=hello&value=world"
$ curl -H "X-Wasmlet-Id: redis-http" "localhost:8080/get?key=hello"
$ curl -H "X-Wasmlet-Id: redis-http" "localhost:8080/incr?key=counter"
$ curl -H "X-Wasmlet-Id: redis-http" "localhost:8080/get?key=counter"
$ curl -H "X-Wasmlet-Id: f1-plug" "localhost:8080"
Commit count: 5

cargo fmt