84 releases

0.21.4 Nov 7, 2024
0.21.2 Oct 30, 2024
0.21.0-alpha.3 Jun 3, 2024
0.19.1 Mar 13, 2024
0.7.4 Oct 23, 2020

#67 in Web programming

Download history 3305/week @ 2024-08-25 2986/week @ 2024-09-01 3348/week @ 2024-09-08 3264/week @ 2024-09-15 3469/week @ 2024-09-22 5586/week @ 2024-09-29 5542/week @ 2024-10-06 5821/week @ 2024-10-13 6194/week @ 2024-10-20 5808/week @ 2024-10-27 7069/week @ 2024-11-03 6536/week @ 2024-11-10 4948/week @ 2024-11-17 3971/week @ 2024-11-24 4680/week @ 2024-12-01 4779/week @ 2024-12-08

19,116 downloads per month

MIT/Apache

385KB
9K SLoC

Trunk

Build Status Discord Chat

Build, bundle & ship your Rust WASM application to the web.
”Pack your things, we’re going on an adventure!” ~ Ferris

Trunk is a WASM web application bundler for Rust. Trunk uses a simple, optional-config pattern for building & bundling WASM, JS snippets & other assets (images, css, scss) via a source HTML file.

📦 Dev server - Trunk ships with a built-in server for rapid development workflows, as well as support for HTTP & WebSocket proxies.

🏗 Change detection - Trunk watches your application for changes and triggers builds for you, including automatic browser reloading.

Getting Started

Head on over to the Trunk website, everything you need is there. A few quick links:

Examples

Check out the example web applications we maintain in-repo under the examples directory.

Contributing

Anyone and everyone is welcome to contribute! Please review the CONTRIBUTING.md document for more details. The best way to get started is to find an open issue, and then start hacking on implementing it. Letting other folks know that you are working on it, and sharing progress is a great approach. Open pull requests early and often, and please use GitHub's draft pull request feature.

License

trunk is licensed under the terms of the MIT License or the Apache License 2.0, at your choosing.

Dependencies

~49–87MB
~1.5M SLoC