| Crates.io | libquickjspp-sys |
| lib.rs | libquickjspp-sys |
| version | 0.6.0-rc.1 |
| created_at | 2023-03-04 18:41:52.919631+00 |
| updated_at | 2024-05-18 18:16:01.886844+00 |
| description | QuickJSpp Javascript Engine FFI bindings |
| homepage | |
| repository | https://github.com/Icemic/quickjspp-rs |
| max_upload_size | |
| id | 800748 |
| size | 3,408,410 |
FFI Bindings for quickjspp, a fork of quickjs, which is a Javascript engine.
See the quickjspp crate for a high-level wrapper.
Version 0.9.0 Embedded VERSION: 2021-03-27
By default, an embedded version of quickjs is used.
If you want to use a version installed on your system, use:
libquickjs-sys = { version = "...", default-features = false, features = ["system"] }
QuickJS sources and a pre-generated bindings.rs are included in the repo.
They are used if the embedded feature is enabled.
To updat the bindings, follow these steps:
just update-quickjsTips:
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.