A high-performance inference engine for AI models
This example demonstrates the browser-compatible functionality of the download-manager crate.
The crate uses OPFS for storage. For this reason, an OPFS browser extension can be useful for debugging — for example, OPFS Explorer for Chrome.
This example uses Trunk as the web application bundler, so it must be installed first.
Trunk compiles the application for the wasm32-unknown-unknown target:
rustup target add wasm32-unknown-unknown --toolchain nightly
To run the web application, execute the following:
cd www
trunk serve