An open API service indexing awesome lists of open source software.

https://github.com/chunghha/wasm-poc

A WASM PoC in Deno/Rust
https://github.com/chunghha/wasm-poc

deno rust wasm

Last synced: about 2 months ago
JSON representation

A WASM PoC in Deno/Rust

Awesome Lists containing this project

README

          

# WASM POC

Build the wasm module,
```
❯ cd rwasm
❯ wasm-pack build
```

To run the app locally,
```
❯ deno run --allow-net --allow-read app.ts
```

From another terminal.
```
❯ curl --request POST --url http://localhost:8000/api --header 'content-type: application/json' --data '{
"type": "rust",
"rounds": 46340
}'
```

### Credits
[Turbo Boost Deno With Rust in 4 Steps](https://www.youtube.com/watch?v=YA4VC0UO0Ms)