12 releases (breaking)

0.10.0 Aug 17, 2021
0.9.0 Feb 4, 2021
0.8.0 Sep 29, 2020
0.7.0 Jul 8, 2020
0.2.0 Jul 30, 2019

#24 in #quickjs

Download history 4958/week @ 2024-11-17 3612/week @ 2024-11-24 4816/week @ 2024-12-01 5111/week @ 2024-12-08 4064/week @ 2024-12-15 1486/week @ 2024-12-22 2158/week @ 2024-12-29 4421/week @ 2025-01-05 4955/week @ 2025-01-12 4735/week @ 2025-01-19 4142/week @ 2025-01-26 4916/week @ 2025-02-02 5831/week @ 2025-02-09 4868/week @ 2025-02-16 4246/week @ 2025-02-23 3315/week @ 2025-03-02

18,481 downloads per month
Used in 21 crates (via quick-js)

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.10.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