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. Any additional tools like wasm-bindgen and wasm-opt are automatically downloaded and managed by trunk. Therefore, no further steps are required. Get set up with your favorite wasm-bindgen based framework. Yew & Seed are the most popular options today, but there are others. Trunk will work with any wasm-bindgen based framework. The easiest way to ensure that your application launches properly is to setup your app as an executable with a standard main function. Trunk uses a source HTML file to drive all asset building and bundling. Trunk also uses the official dart-sass.

Features

  • Build, bundle & ship your Rust WASM application to the web
  • Declaring assets to be processed by Trunk is simple and extensible
  • Script assets are bit more diverse
  • Images and other resource types can be copied into the dist dir by adding a link like this to your source HTML
  • Trunk's flexible hooks system can be used to launch external processes
  • Trunk watches your application for changes and triggers builds for you

Project Samples

Project Activity

See All Activity >

Categories

Web Development

License

Apache License V2.0

Follow Trunk

Trunk Web Site

Other Useful Business Software
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight Icon
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight

Lock Down Any Resource, Anywhere, Anytime

CLEAR by Quantum Knight is a FIPS-140-3 validated encryption SDK engineered for enterprises requiring top-tier security. Offering robust post-quantum cryptography, CLEAR secures files, streaming media, databases, and networks with ease across over 30 modern platforms. Its compact design, smaller than a single smartphone image, ensures maximum efficiency and low energy consumption.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Trunk!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Web Development Software

Registered

2023-04-20