This repository is a Rust port of glyphs-generator. it compiles to WebAssembly and is used in this demo website.
To install dependencies and compile the Rust package, run
cargo build
In order to compile to WebAssembly, run
wasm-pack build --target web
More information on https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_Wasm.
To run unit tests, run
cargo test
To run examples, run
cargo run --example hello