# exclosured v0.1.4 - Table of Contents

Compile Rust to WebAssembly and run it in browser sandboxes with Phoenix LiveView integration.

## Pages

- [Exclosured](readme.md)
- [Changelog](changelog.md)
- [Developer Guide](developer.md)

## Modules

- [Exclosured](Exclosured.md): Exclosured compiles Rust code to WebAssembly and runs it in browser
sandboxes with Phoenix LiveView bidirectional communication.
- [Exclosured.Compiler](Exclosured.Compiler.md): Handles invocation of cargo, wasm-bindgen, and wasm-opt to compile
Rust crates into WebAssembly artifacts.

- [Exclosured.Config](Exclosured.Config.md): Parses and validates Exclosured configuration.

- [Exclosured.Events](Exclosured.Events.md): Generate Elixir structs from annotated Rust structs.
- [Exclosured.Events.Parser](Exclosured.Events.Parser.md): Parses Rust source files for `/// exclosured:event` annotated structs.
- [Exclosured.Inline](Exclosured.Inline.md): Define small WASM functions inline in Elixir using `defwasm`.
- [Exclosured.LiveView](Exclosured.LiveView.md): LiveView integration for Exclosured WASM modules.
- [Exclosured.Manifest](Exclosured.Manifest.md): Manages the build manifest for incremental compilation.
- [Exclosured.Protocol](Exclosured.Protocol.md): Binary encoding protocol for high-frequency state synchronization.
- [Exclosured.Telemetry](Exclosured.Telemetry.md): Telemetry events emitted by Exclosured.
- [Exclosured.Watcher](Exclosured.Watcher.md): File watcher for development. Triggers WASM recompilation when
Rust source files change.

## Mix Tasks

- [mix compile.exclosured](Mix.Tasks.Compile.Exclosured.md): Mix compiler that builds Rust crates into WebAssembly.
- [mix exclosured.init](Mix.Tasks.Exclosured.Init.md): Scaffolds the Exclosured project structure.

