slimwasm 0.1.0

A WASM size profiler for wasm32-unknown-unknown and wasm32-wasip2 binaries
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! slimwasm - A WASM size profiler for wasm32-unknown-unknown and wasm32-wasip2 binaries
//!
//! This library provides functionality to analyze WebAssembly binary sizes,
//! compute retained sizes via reachability analysis, and identify what keeps
//! specific items (like `core::fmt`) in your binary.

pub mod analysis;
pub mod parser;

pub use analysis::{ItemInfo, RetainedSizeAnalyzer, SizeInfo, WasmAnalysis};
pub use parser::{parse_wasm, parse_wasm_component, WasmItem, WasmItemKind};