Release v0.3.0
WebAssembly Component Examples v0.3.0
This release contains WebAssembly components built with rules_wasm_component.
Components Included
C Components:
hello_c_cli.wasm- CLI executable (runs with wasmtime)hello_c_debug.wasm- Library component (debug)hello_c_release.wasm- Library component (release)
C++ Components:
hello_cpp_cli.wasm- CLI executable (runs with wasmtime)hello_cpp_debug.wasm- Library component (debug)hello_cpp_release.wasm- Library component (release)
Rust Components:
hello_rust.wasm- Hello World CLIcalculator.wasm- Arithmetic calculatordatetime.wasm- Date/time displayyolo_inference_debug.wasm- YOLO detection (debug)yolo_inference_release.wasm- YOLO detection (release)
Security
All components are signed using wsc with keyless Sigstore signing:
- Identity: GitHub Actions OIDC
- Certificate: Short-lived from Fulcio
- Transparency: Logged in Rekor
Running Components
# Install wasmtime
curl https://wasmtime.dev/install.sh -sSf | bash
# Run C/C++ CLI examples
wasmtime run hello_c_cli.wasm
wasmtime run hello_cpp_cli.wasm
# Run Rust CLI examples
wasmtime run hello_rust.wasm
wasmtime run calculator.wasm 8 + 8
wasmtime run datetime.wasm
# Run YOLO detection (requires ONNX model)
wasmtime run --dir . -S cli -S nn -S nn-graph=onnx::./models/yolov8n \
yolo_inference_release.wasm ./image.jpgVerification
Signatures can be verified using wsc:
wsc verify --keyless \
--identity "https://github.com/pulseengine/wasm-component-examples" \
--issuer "https://token.actions.githubusercontent.com" \
--input-file component.wasmWhat's Changed
- fix: replace git_override instead of appending local_path_override by @avrabe in #2
- docs: align README with PulseEngine visual identity by @avrabe in #3
- feat: update deps + add Rust P3 async component example by @avrabe in #5
Full Changelog: v0.2.0...v0.3.0