Exclosured (exclosured v0.1.4)
Copy MarkdownExclosured compiles Rust code to WebAssembly and runs it in browser sandboxes with Phoenix LiveView bidirectional communication.
Configuration
config :exclosured,
source_dir: "native/wasm",
output_dir: "priv/static/wasm",
optimize: :none,
modules: [
my_mod: [],
renderer: [canvas: true]
]
Summary
Functions
Returns the URL for an asset file associated with a module.
Returns a list of all configured module names.
Returns the URL for a module's wasm-bindgen JS glue file.
Returns the filesystem path to the compiled .wasm file for a module.
Returns the browser-accessible URL path for a module's .wasm file.
Functions
Returns the URL for an asset file associated with a module.
Returns a list of all configured module names.
Returns the URL for a module's wasm-bindgen JS glue file.
Returns the filesystem path to the compiled .wasm file for a module.
Returns the browser-accessible URL path for a module's .wasm file.