#date-parser #javascript-engine #quickjs #bindings #version #embedded #quick-js-dtp

sys libquickjs-dtp-sys

QuickJS Javascript Engine FFI bindings (with improved date parser)

2 unstable releases

0.10.0 Mar 23, 2024
0.9.0 Feb 5, 2023

#19 in #quickjs

Download history 3/week @ 2024-08-31 12/week @ 2024-09-07 22/week @ 2024-09-14 70/week @ 2024-09-21 12/week @ 2024-09-28 9/week @ 2024-10-05 18/week @ 2024-10-12 4/week @ 2024-10-19 12/week @ 2024-10-26 16/week @ 2024-11-02 65/week @ 2024-11-09 3/week @ 2024-11-16 7/week @ 2024-11-23 12/week @ 2024-11-30 46/week @ 2024-12-07 46/week @ 2024-12-14

112 downloads per month
Used in 4 crates (via quick-js-dtp)

MIT license

2.5MB
77K SLoC

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

libquickjs-dtp-sys

FFI Bindings for quickjs, a Javascript engine.

This is a fork of the original libquickjs-sys crate which includes a fully featured date parser, capable of parsing dates like Sat, 01-Jan-2000 00:00:00 PST.

See the quick-js-dtp crate for a high-level wrapper.

Version 0.10.0 Embedded VERSION: 2024-01-13

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

No runtime deps