| Crates.io | wasm_dep_analyzer |
| lib.rs | wasm_dep_analyzer |
| version | 0.4.0 |
| created_at | 2024-02-01 18:04:14.238835+00 |
| updated_at | 2025-07-29 16:37:02.036278+00 |
| description | Wasm module dependency analysis for module resolution |
| homepage | |
| repository | https://github.com/denoland/wasm_dep_analyzer |
| max_upload_size | |
| id | 1123392 |
| size | 37,649 |
An extremely lightweight Wasm module parser used in Deno to get the dependencies of a Wasm module from its bytes for the purpose of ECMAScript module resolution and TypeScript type checking.
let deps = WasmDeps::parse(&wasm_module_bytes, ParseOptions::default())?;
eprintln!("{:#?}", deps.imports);
eprintln!("{:#?}", deps.exports);