{{description}}
Ensure you have the wasm32-wasip2 Rust toolchain installed:
rustup target add wasm32-wasip2Then execute the default make target (which runs cargo build --target wasm32-wasip2 and signs the produced WASM component):
makeAfter building, the plugin can be installed in witmproxy by running witm plugin add <path-to-wasm-file>.
This plugin was generated from the witmproxy Rust plugin template with the following variables:
- Plugin Name: {{plugin-name}}
- Authors: {{author}}
- Description: {{description}}
- Modify the
manifest()function insrc/lib.rsto update plugin metadata - Implement your plugins event handling logic in the
handle()function - Update the
capabilitiesin the manifest to request additional permissions to host resources or events - Add any additional dependencies to
Cargo.toml