Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 673 Bytes

File metadata and controls

28 lines (17 loc) · 673 Bytes

Png image compression app using Web-Assembly & Rust

A png image compression app that compresses image fully locally on browser using Web Assembly.

Building

This project uses cargo-run-bin to use wasm-pack to build from Cargo.toml instead of using it globally. This makes sure there's no any "It works on my machine" drama. So make sure to install cargo-run-bin globally:

> cargo install cargo-run-bin

<!-- Initiate local binary  -->
> cargo bin --install

You can now compile web-assembly code using:

> cargo wasmpack build

<!-- OR -->

> make wasm.build

Flow