#quickjs #javascript-engine #bindings

sys libquickjs-sys-latest

QuickJS Javascript Engine FFI bindings

1 unstable release

0.10.1 Aug 21, 2023
0.10.0 Aug 21, 2023

#20 in #quickjs

Download history 19/week @ 2024-01-22 27/week @ 2024-02-05 10/week @ 2024-02-12 21/week @ 2024-02-19 50/week @ 2024-02-26 21/week @ 2024-03-04 11/week @ 2024-03-11 4/week @ 2024-03-18 11/week @ 2024-03-25 54/week @ 2024-04-01 8/week @ 2024-04-08 52/week @ 2024-04-15 126/week @ 2024-04-22

242 downloads per month
Used in quickjs-rs

MIT license

2.5MB
75K SLoC

C 71K SLoC // 0.0% comments Rust 4K SLoC // 0.0% comments

libquickjs-sys

FFI Bindings for quickjs, a Javascript engine.

See the quick crate for a high-level wrapper.

Version 0.9.0 Embedded VERSION: 2021-03-27

Embedded vs system

By default, an embedded version of quickjs is used.

If you want to use a version installed on your system, use:

libquickjs-sys = { version = "...", default-features = false, features = ["system"] }

Updating the embedded bindings

QuickJS sources and a pre-generated bindings.rs are included in the repo.

They are used if the embedded feature is enabled.

To updat the bindings, follow these steps:

  • (Install just)
  • Update the download URL in ./justfile
  • run just update-quickjs

lib.rs:

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

No runtime deps