Modern Bazel rules for building WebAssembly components across multiple languages.
- Multi-language: Build components from Rust, Go, C++, JavaScript
- Production Ready: OCI publishing, signing, composition, optimization
- Bazel Native: Hermetic builds, caching, cross-platform support
Add to your MODULE.bazel
:
bazel_dep(name = "rules_wasm_component", version = "1.0.0")
# Build a component from Rust
rust_wasm_component_bindgen(
name = "hello_component",
srcs = ["src/lib.rs"],
wit = ":hello_interfaces",
)
- Zero to Component in 2 Minutes - Fastest way to get started
- Language Guides - Rust, Go, C++, JavaScript tutorials
- Production Deployment - OCI publishing, signing, optimization
- Examples - Working examples from basic to advanced
Contributions welcome! See CONTRIBUTING.md for details.
Apache 2.0 - See LICENSE for details.