docs.rs failed to build javy-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
javy-6.0.0
javy
A configurable JavaScript runtime for WebAssembly.
Uses QuickJS through the quickjs-wasm-rs crate to evalulate JavaScript source code or QuickJS bytecode.
Example usage
use ;
use ;
Create a Runtime and use the reference returned by context() to add functions and evaluate source code.
Features
json- transcoding functions for converting betweenJSValueRefand JSONmessagepack- transcoding functions for converting betweenJSValueRefand MessagePack
Building a project using this crate
- Install the wasi-sdk for your platform
- Set the
QUICKJS_WASM_SYS_WASI_SDK_PATHenvironment variable to the absolute path where you installed thewasi-sdk
For example, if you install the wasi-sdk in /opt/wasi-sdk, you can run:
Publishing to crates.io
To publish this crate to crates.io, run ./publish.sh.