This is a demo for showcasing the integration of a Rust Library compiled to WebAssembly into an Angular Application. It uses Photon - a Rust Library for Image processing developed by Silvia O'Dwyer
To build and run the project you can use the build.sh
script. It compiles the Rust files located in the cate
Folder into WebAssembly. The WebAssembly File and its JavaScript clue code is located in ng-rust/src/photon
.
- Install the current version of wasm-pack
- Current version of Angular CLI