quick-js-datepatch/libquickjs-sys
2024-03-23 01:32:06 +01:00
..
embed fix: update dateparser patch 2024-03-23 01:32:06 +01:00
src recreate bindings with latest bindgen 2023-02-05 20:29:03 +01:00
build.rs rename crates 2023-02-05 22:25:34 +01:00
Cargo.toml chore: update quickjs to 2024-01-13 2024-03-23 01:21:50 +01:00
CHANGELOG.md Prepare -sy 0.10 release 2021-08-09 15:49:37 +02:00
LICENSE.txt Refactor crate names... damn name squatters! 2019-07-16 23:47:12 +02:00
README.md chore: update quickjs to 2024-01-13 2024-03-23 01:21:50 +01:00
release.toml rename crates 2023-02-05 22:25:34 +01:00
wrapper.h Refactor crate names... damn name squatters! 2019-07-16 23:47:12 +02:00

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