| Crates.io | wasm_split_helpers |
| lib.rs | wasm_split_helpers |
| version | 0.2.0 |
| created_at | 2025-07-20 16:56:32.358429+00 |
| updated_at | 2025-10-20 11:26:17.041108+00 |
| description | Split a WASM module into lazily loadable chunks |
| homepage | |
| repository | https://github.com/WorldSEnder/wasm-split-prototype |
| max_upload_size | |
| id | 1761243 |
| size | 14,547 |
wasm_split_helpersThis crate provides runtime support for the wasm_split_macros 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.
This functionality is used:
#[lazy] and #[lazy_route] macros.Lazy component