| Crates.io | wasm_split_macros |
| lib.rs | wasm_split_macros |
| version | 0.2.0 |
| created_at | 2025-07-20 16:50:24.53297+00 |
| updated_at | 2025-10-20 11:20:48.256342+00 |
| description | Split a WASM module into lazily loadable chunks |
| homepage | |
| repository | https://github.com/WorldSEnder/wasm-split-prototype |
| max_upload_size | |
| id | 1761239 |
| size | 18,611 |
wasm_split_macrosThis crate provides macros that are used along with the wasm_split_helpers crate, which allows you to indicate that certain functions are appropriate split points for lazy-loaded code in WebAssembly (WASM).
A build tool that supports this approach (like wasm-split-cli in wasm_split_cli_support) can then split a WASM binary into multiple chunks, which will be lazy-loaded on demand.
This crate was adapted from an original prototype, which you can find here, with an in-depth description of the approach here.