#javascript-engine #quickjs #quickjs-bindings

sys hirofa-quickjs-sys

QuickJS, QuickJS-NG Javascript Engine FFI bindings

16 releases (10 breaking)

Uses new Rust 2024

0.12.0 Nov 29, 2025
0.10.3 May 16, 2025
0.9.0 Mar 11, 2025
0.8.0 Dec 24, 2024
0.4.0 Mar 13, 2024

#20 in #quickjs

Download history 16/week @ 2025-08-26 40/week @ 2025-09-02 93/week @ 2025-09-09 306/week @ 2025-09-16 75/week @ 2025-09-23 119/week @ 2025-09-30 130/week @ 2025-10-07 153/week @ 2025-10-14 35/week @ 2025-10-21 41/week @ 2025-10-28 29/week @ 2025-11-04 29/week @ 2025-11-11 70/week @ 2025-11-18 110/week @ 2025-11-25 99/week @ 2025-12-02 41/week @ 2025-12-09

321 downloads per month
Used in 3 crates (via quickjs_runtime)

MIT license

5.5MB
165K SLoC

C 145K SLoC // 0.0% comments JavaScript 12K SLoC // 0.0% comments Rust 8K SLoC // 0.0% comments Shell 150 SLoC // 0.1% comments C++ 1 SLoC

FFI Bindings for quickjs, a Javascript engine. See the quickjs crate for a high-level wrapper.


hirofa-quickjs-sys

Low level rust bindings for quickjs, used by quickjs_runtime.

uses either

getting started

Cargo.toml

  • bellard version
libquickjs-sys = {package="hirofa-quickjs-sys", version="0.10.0"}

or quickjs-ng

libquickjs-sys = {package="hirofa-quickjs-sys", version="0.10.0", default-features=false, features=["quickjs-ng"]}

No runtime deps