Trunk is a WASM web application bundler for Rust that simplifies the process of building and bundling WASM, JS snippets, and other assets like images and CSS. Users can install Trunk using Cargo or through GitHub releases. Trunk automates the download and management of tools like wasm-bindgen and wasm-opt. Any wasm-bindgen-based framework can work with Trunk, with popular options being Yew and Leptos. By setting up an executable app with a main function and using a source HTML file, Trunk handles asset building and bundling seamlessly. More advanced features and configurations are available for those looking to dive deeper. Join the community on Discord and contribute to the project if interested.
https://trunkrs.dev/