| Crates.io | wasmx-cli |
| lib.rs | wasmx-cli |
| version | 0.0.0 |
| created_at | 2025-05-27 17:24:22.199764+00 |
| updated_at | 2025-05-27 17:24:22.199764+00 |
| description | High-performance, embeddable WebAssembly execution engine |
| homepage | https://github.com/rvolosatovs/wasmx |
| repository | https://github.com/rvolosatovs/wasmx |
| max_upload_size | |
| id | 1691382 |
| size | 233,389 |
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"