| Crates.io | wasmlet-cli |
| lib.rs | wasmlet-cli |
| version | 0.0.2 |
| created_at | 2025-06-17 15:22:45.397856+00 |
| updated_at | 2025-08-06 18:10:40.561412+00 |
| description | High-performance, embeddable WebAssembly execution engine |
| homepage | https://github.com/rvolosatovs/wasmlet |
| repository | https://github.com/rvolosatovs/wasmlet |
| max_upload_size | |
| id | 1715891 |
| size | 265,709 |
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"