#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

#1441 in Web programming

Download history 2/week @ 2024-01-24 25/week @ 2024-01-31 29/week @ 2024-02-07 166/week @ 2024-02-14 141/week @ 2024-02-21 132/week @ 2024-02-28 240/week @ 2024-03-06 225/week @ 2024-03-13 51/week @ 2024-03-20 54/week @ 2024-03-27 70/week @ 2024-04-03 36/week @ 2024-04-10 39/week @ 2024-04-17 41/week @ 2024-04-24 13/week @ 2024-05-01 24/week @ 2024-05-08

124 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