Crates.io | quickjs-wasm-sys |
lib.rs | quickjs-wasm-sys |
version | 1.2.1 |
source | src |
created_at | 2022-03-04 20:19:15.094528 |
updated_at | 2024-05-07 19:09:07.578097 |
description | Rust bindings for Wasm build of QuickJS |
homepage | https://github.com/bytecodealliance/javy/tree/main/crates/quickjs-wasm-sys |
repository | https://github.com/bytecodealliance/javy/tree/main/crates/quickjs-wasm-sys |
max_upload_size | |
id | 543665 |
size | 6,242,104 |
The motivation for this change is explained in detail in https://github.com/bytecodealliance/javy/pull/618
We recommend using rquickjs
as the
high-level bindings for QuickJS.
High-level bindings and serializers for a Wasm build of QuickJS.
FFI bindings for a Wasm build of the QuickJS Javascript engine.
To publish this crate to crates.io, run ./publish.sh
.
This crate can be compiled using a custom WASI SDK. When building this crate, set the QUICKJS_WASM_SYS_WASI_SDK_PATH
environment variable to the absolute path where you installed the SDK. You can also use a particular version of the WASI SDK by setting the QUICKJS_WASM_SYS_WASI_SDK_MAJOR_VERSION
and QUICKJS_WASM_SYS_WASI_SDK_MINOR_VERSION
environment variables to the appropriate versions.