Trunk
Bundler that builds a Rust WebAssembly application and its HTML, CSS and JavaScript assets for the web.
trunk-rs.github.io/trunk/repositorydocs
Trunk is a bundler for Rust applications compiled to WebAssembly. It reads a source index.html file, compiles the Rust crate, and bundles the WebAssembly, the JavaScript loader and other assets such as SCSS and images into a dist folder. The dist output is static files that a web server can serve. Trunk is installed with cargo install --locked trunk, from a GitHub release binary, or with Homebrew. The trunk serve command starts a built-in development server.
Worth knowing
Trunk is a build step, so no Trunk process runs for the live site.
Sources
- 2026-10-28: links, Categories, Runs as, Maintainer
trunk-rs.github.io/trunk/ - 2026-10-28: links, Written in, GitHub stars
api.github.com/repos/trunk-rs/trunk - 2026-10-28: links, Runs as
trunk-rs.github.io/trunk/guide/print.html - 2026-10-28: Install with
trunk-rs.github.io/trunk/guide/getting-started/installation.html - 2026-10-28: License
github.com/trunk-rs/trunk/blob/main/README.md - 2026-10-28: Current major version, Last release, First release
api.github.com/repos/trunk-rs/trunk/releases - 2026-10-28: Contributors
api.github.com/repos/trunk-rs/trunk/contributors?per_page=1 - 2026-10-28: Dependent repositories
packages.ecosyste.ms/api/v1/registries/crates.io/packages/trunk