forked from theduke/quickjs-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
39 lines (33 loc) · 1.11 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
edition = "2021"
name = "quick-js-dtp"
description = "QuickJS Javascript engine wrapper (with improved date parser)"
version = "0.4.2"
readme = "README.md"
repository = "https://github.com/Theta-Dev/quickjs-rs"
license = "MIT"
authors = [
"Christoph Herzog <chris@theduke.at>",
"ThetaDev <t.testboy@gmail.com>",
]
keywords = ["quickjs", "javascript", "js", "engine", "interpreter"]
[lib]
name = "quick_js"
[package.metadata.docs.rs]
features = ["chrono", "bigint", "log"]
[features]
default = ["chrono"]
patch-bigint = ["libquickjs-dtp-sys/patch-bigint"]
patch-dateparser = ["libquickjs-dtp-sys/patch-dateparser"]
bigint = ["num-bigint", "num-traits", "libquickjs-dtp-sys/patch-bigint"]
[dependencies]
libquickjs-dtp-sys = { version = "0.10.0", path = "./libquickjs-sys" }
chrono = { version = "0.4.7", optional = true }
num-bigint = { version = "0.4.0", optional = true }
num-traits = { version = "0.2.0", optional = true }
log = { version = "0.4.8", optional = true }
once_cell = "1.2.0"
[dev-dependencies]
rstest = { version = "0.18.0", default-features = false }
[workspace]
members = ["libquickjs-sys"]