#quickjs

sys quickjs-wasm-sys

Rust bindings for Wasm build of QuickJS

3 releases

0.1.2 Jan 24, 2023
0.1.1 Jan 5, 2023
0.1.0 Mar 4, 2022

#511 in WebAssembly

Download history 15/week @ 2022-11-28 5/week @ 2022-12-05 10/week @ 2022-12-12 5/week @ 2022-12-19 8/week @ 2022-12-26 36/week @ 2023-01-02 12/week @ 2023-01-09 11/week @ 2023-01-16 87/week @ 2023-01-23 35/week @ 2023-01-30 11/week @ 2023-02-06 51/week @ 2023-02-13 29/week @ 2023-02-20 15/week @ 2023-02-27 32/week @ 2023-03-06 72/week @ 2023-03-13

151 downloads per month
Used in quickjs-wasm-rs

MIT license

3MB
87K SLoC

C 79K SLoC // 0.0% comments JavaScript 7.5K SLoC // 0.0% comments Shell 110 SLoC // 0.1% comments Rust 88 SLoC // 0.0% comments

quickjs-wasm-sys: Wasm QuickJS bindings for Rust

FFI bindings for a Wasm build of the QuickJS Javascript engine.

Building this crate

  • Install the wasi-sdk for your platform
  • Set the QUICKJS_WASM_SYS_WASI_SDK_PATH environment variable to the absolute path where you installed the wasi-sdk

For example, if you install the wasi-sdk in /opt/wasi-sdk, you can run:

export QUICKJS_WASM_SYS_WASI_SDK_PATH=/opt/wasi-sdk

Publishing to crates.io

To publish this crate to crates.io, run ./publish.sh.

No runtime deps