#quickjs

sys libquickjs-sys

QuickJS Javascript Engine FFI bindings

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

#1273 in Web programming

Download history 384/week @ 2023-02-10 792/week @ 2023-02-17 672/week @ 2023-02-24 579/week @ 2023-03-03 1080/week @ 2023-03-10 651/week @ 2023-03-17 704/week @ 2023-03-24 455/week @ 2023-03-31 399/week @ 2023-04-07 494/week @ 2023-04-14 453/week @ 2023-04-21 466/week @ 2023-04-28 439/week @ 2023-05-05 339/week @ 2023-05-12 449/week @ 2023-05-19 646/week @ 2023-05-26

1,936 downloads per month
Used in 18 crates (2 directly)

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