Crates.io | libquickjs-ng-sys |
lib.rs | libquickjs-ng-sys |
version | 0.6.1 |
source | src |
created_at | 2024-06-19 18:00:10.555529 |
updated_at | 2024-07-07 16:59:12.217612 |
description | QuickJS-NG Javascript Engine FFI bindings |
homepage | |
repository | https://github.com/Icemic/quickjs-rusty |
max_upload_size | |
id | 1277239 |
size | 3,564,623 |
FFI Bindings for quickjs-ng, a fork of quickjs, which is a Javascript engine.
See the quickjspp crate for a high-level wrapper.
QuickJS sources and a pre-generated bindings.rs
are included in the repo.
They are used if the embedded
feature is enabled.
To update the bindings, follow these steps:
just update-quickjs
Tips:
You may encounter problems in generating bindings.rs like "FP_SUBNORMAL
redefined here".
That's the solution,
but due that we execute bindgen
in cli, we have to resolve them by hand.