Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 639 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 639 Bytes

glyphs-generator-rs

This repository is a Rust port of glyphs-generator. it compiles to WebAssembly and is used in this demo website.

Compile

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.

Run tests

To run unit tests, run

cargo test

Run examples

To run examples, run

cargo run --example hello