wasmx-cli

Crates.iowasmx-cli
lib.rswasmx-cli
version0.0.0
created_at2025-05-27 17:24:22.199764+00
updated_at2025-05-27 17:24:22.199764+00
descriptionHigh-performance, embeddable WebAssembly execution engine
homepagehttps://github.com/rvolosatovs/wasmx
repositoryhttps://github.com/rvolosatovs/wasmx
max_upload_size
id1691382
size233,389
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:

$ 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-plugin
$ cargo run -- --http-proxy 127.0.0.1:8080
$ curl -H "X-Wex-Id: redis-http" "localhost:8080/set?key=hello&value=world"
$ curl -H "X-Wex-Id: redis-http" "localhost:8080/get?key=hello"
$ curl -H "X-Wex-Id: redis-http" "localhost:8080/incr?key=counter"
$ curl -H "X-Wex-Id: redis-http" "localhost:8080/get?key=counter"
$ curl -H "X-Wex-Id: f1-plug" "localhost:8080"
Commit count: 5

cargo fmt