-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
48 lines (42 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
40
41
42
43
44
45
46
47
48
[package]
name = "qjs"
version = "0.1.2"
authors = ["Flier Lu <flier.lu@gmail.com>"]
description = "Rust binding for the QuickJS Javascript Engine"
repository = "https://github.com/flier/rust-quickjs"
readme = "README.md"
license = "MIT"
keywords = ["javascript", "quickjs"]
categories = ["api-bindings"]
edition = "2018"
[badges]
appveyor = { repository = "flier/rust-quickjs", branch = "master", service = "github" }
travis-ci = { repository = "flier/rust-quickjs", branch = "master" }
[features]
default = ["bignum", "repl", "qjscalc", "stdlib"]
bignum = ["qjs-sys/bignum"]
repl = ["qjs-sys/repl"]
qjscalc = ["qjs-sys/qjscalc"]
lto = ["qjs-sys/lto"]
stdlib = []
[dependencies]
log = "0.4"
failure = "0.1"
bitflags = "1.1"
foreign-types = "0.4"
lazy_static = "1.3"
cstr = "0.1"
proc-macro-hack = "0.5"
qjs-sys = { version = "0.1", path = "qjs-sys" }
qjs-derive = { version = "0.1", path = "qjs-derive" }
[dev-dependencies]
pretty_env_logger = "0.3"
cfg-if = "0.1"
structopt = "0.3"
tempfile = "3.1"
cc = "1.0"
platforms = "0.2"
cfile = "0.5"
libc = "0.2"
[workspace]
members = ["qjs-sys", "qjs-derive", "qjs-derive-support"]