Awesome
openfga-dsl-parser-wasm
A WASM target of the OpenFGA DSL Parser with examples.
Building the WASM Target
You must have rustup
and the rust
toolchain
git clone
this repo- Make any development changes/edits (if desired)
- Add the wasm32-unknown-unknown target:
rustup target add wasm32-unknown-unknown
- Compile to the wasm release:
cargo build --target wasm32-unknown-unknown --release
- Copy the release WASM to the
examples/wasm_binaries
directory