WasmRust Plugin
Rust WebAssembly plugin for Wasmrun - compile Rust projects to WebAssembly with wasm-bindgen and web framework support.
Installation
Via Wasmrun (Recommended)
Direct Installation (For Testing/Dev only)
From Source (For contributors/experimental features)
Usage
With Wasmrun
Once installed as a plugin, Wasmrun will automatically use wasmrust for Rust projects:
# Automatic detection for Rust projects
# Compile Rust project to WASM
# Web application development with live reload
Standalone Usage (For testing/dev)
TBD
Build Configuration
Optimization Levels
debug
- Fast compilation, full symbols, no optimizationrelease
- Optimized for performance (default)size
- Optimized for minimal file size
Target Types
wasm
- Standard WebAssembly outputwebapp
- Complete web application with HTML/JS/CSS
Integration with Wasmrun
When installed as a Wasmrun plugin, wasmrust provides:
Automatic Detection
Wasmrust automatically handles Rust projects when:
Cargo.toml
file is present in the project root.rs
files are detected in the project
Plugin Capabilities
[]
= true
= true
= true
= true
= ["wasm32-unknown-unknown", "web"]
Dependency Checking
The plugin automatically verifies that required tools are installed and provides helpful error messages for missing dependencies.