3 releases (breaking)
0.4.0 | Mar 13, 2024 |
---|---|
0.3.0 | Mar 8, 2024 |
0.2.0 | Jan 13, 2024 |
#11 in #quickjs
284 downloads per month
Used in 2 crates
(via quickjs_runtime)
9.5MB
267K
SLoC
hirofa-quickjs-sys
Low level rust bindings for quickjs, used by quickjs_runtime.
uses either
- The original by Fabrice Bellard (
features=['bellard']
) see: https://bellard.org/quickjs/ - quickjs-ng, Friendly QuickJS fork focused on reigniting the project. (
features=['quickjs-ng']
) see: https://github.com/quickjs-ng/quickjs - later
openwebf, Optimized quickjs mantained by OpenWebF team. (features=['openwebf']
) see: https://github.com/openwebf/quickjs
status:
- bellard version is working, updated to 2024-01-13
- quickjs-ng compiles, have not tested yet
- openwebf, future
getting started
Cargo.toml
libquickjs-sys = {package="hirofa-quickjs-sys", version="0.4.0", features=["bellard"]}
or
libquickjs-sys = {package="hirofa-quickjs-sys", version="0.4.0", features=["quickjs-ng"]}
lib.rs
:
FFI Bindings for quickjs, a Javascript engine. See the quickjs crate for a high-level wrapper.