docs.rs failed to build javy-apis-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-apis-3.0.0
javy-apis
A collection of APIs that can be added to a Javy runtime.
APIs are registered by enabling crate features.
Example usage
use ;
// with `console` feature enabled
use RuntimeExt;
If you want to customize the runtime or the APIs, you can use the Runtime::new_with_apis method instead to provide a javy::Config for the underlying Runtime or an APIConfig for the APIs.
Features
console- registers an implementation of theconsoleAPItext_encoding- registers implementations ofTextEncoderandTextDecoderstream_io- registers implementations ofJavy.IO.readSyncandJavy.IO.writeSync
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.