libquickjs-dtp-sys (0.10.0)
Published 2024-03-23 01:40:22 +01:00 by ThetaDev
Installation
[registry]
default = "forgejo"
[registries.forgejo]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = true
cargo add libquickjs-dtp-sys@0.10.0
About this package
QuickJS Javascript Engine FFI bindings (with improved date parser)
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
Dependencies
ID | Version |
---|---|
bindgen | ^0.69.0 |
cc | ^1.0.66 |
copy_dir | ^0.1.2 |
Keywords
quickjs
Details
2024-03-23 01:40:22 +01:00
Assets (1)
Versions (2)
View all
Cargo
16
Christoph Herzog <chris@theduke.at>
ThetaDev <t.testboy@gmail.com>
MIT
521 KiB
libquickjs-dtp-sys-0.10.0.crate
521 KiB