#quickjs #bindings #javascript-engine #low #wrapper #quick-js-ng #quickjs-ng

sys hirofa-quickjs-sys

QuickJS, QuickJS-NG Javascript Engine FFI bindings

3 releases (breaking)

0.4.0 Mar 13, 2024
0.3.0 Mar 8, 2024
0.2.0 Jan 13, 2024

#11 in #quickjs

Download history 110/week @ 2024-01-12 44/week @ 2024-01-19 2/week @ 2024-01-26 41/week @ 2024-02-02 75/week @ 2024-02-09 142/week @ 2024-02-16 152/week @ 2024-02-23 94/week @ 2024-03-01 372/week @ 2024-03-08 104/week @ 2024-03-15 42/week @ 2024-03-22 80/week @ 2024-03-29 33/week @ 2024-04-05

284 downloads per month
Used in 2 crates (via quickjs_runtime)

MIT license

9.5MB
267K SLoC

C 233K SLoC // 0.0% comments JavaScript 20K SLoC // 0.0% comments Rust 12K SLoC // 0.0% comments Bitbake 1.5K SLoC // 0.1% comments Shell 280 SLoC // 0.1% comments

hirofa-quickjs-sys

Low level rust bindings for quickjs, used by quickjs_runtime.

uses either

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.

No runtime deps