| Crates.io | pseudocode |
| lib.rs | pseudocode |
| version | 0.1.8 |
| created_at | 2020-03-30 05:46:26.329291+00 |
| updated_at | 2021-03-19 22:56:14.799414+00 |
| description | AP CSP Pseudocode interpreter (rough cut) |
| homepage | |
| repository | |
| max_upload_size | |
| id | 224292 |
| size | 57,768 |
Includes:
Need installed: cargo, rust, npm
wasm-packcargo-generate:
cargo install cargo-generate
web/www
cd web/www
# if doing for first time
#npm init wasm-app www
cd www
npm install
npm run start
It is possible to build this so that you can serve all the file statically.
First, run npm run build to put the files in web/www/dist, then serve the dist directory.
Make sure that your webserver (e.g. nginx) is attaching the application/wasm MIME type for the .wasm resources.
You can enforce this in nginx by adding the following line to /etc/nginx/mime.types:
application/wasm wasm