#quickjs #bindings #quickjs-ng

sys hirofa-quickjs-sys

QuickJS, QuickJS-NG Javascript Engine FFI bindings

10 releases (breaking)

Uses new Rust 2024

0.9.0 Mar 11, 2025
0.8.0 Dec 24, 2024
0.7.1 Dec 19, 2024
0.6.1 Oct 11, 2024
0.4.0 Mar 13, 2024

#756 in Hardware support

Download history 247/week @ 2024-12-15 220/week @ 2024-12-22 55/week @ 2024-12-29 102/week @ 2025-01-05 70/week @ 2025-01-12 24/week @ 2025-01-19 51/week @ 2025-01-26 36/week @ 2025-02-02 25/week @ 2025-02-09 24/week @ 2025-02-16 48/week @ 2025-02-23 35/week @ 2025-03-02 134/week @ 2025-03-09 83/week @ 2025-03-16 44/week @ 2025-03-23 34/week @ 2025-03-30

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

MIT license

6MB
177K SLoC

C 154K SLoC // 0.0% comments JavaScript 14K SLoC // 0.0% comments Rust 9K SLoC // 0.0% comments Shell 145 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.8.0"}

or quickjs-ng

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

No runtime deps