Freshdesk app with Rust WASM
An experimental Freshdesk app that uses Rust to build a WebAssembly (WASM) component.
Pre-requisites
- Working knowledge of JavaScript, HTML, CSS, and Node.js.
- Basic familiarity with Rust and WASM.
- Basic idea on how Freshworks app development works. See tutorials for help.
Setup
Directory structure
app/
โ Theapp
directory contains frontend component of the Freshdesk apprust-wasm/
- Therust-wasm
directory contains a Rustcrate
(project) with WASM configured
Build
Build Rust crate
To build the Rust crate, run:
cd rust-wasm/
wasm-pack build
This will produce compiled WebAssembly files with JavaScript bindings in the rust-wasm/pkg/
directory.