forked from servo/mozjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (35 loc) · 853 Bytes
/
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]
name = "mozjs_sys"
description = "System crate for the Mozilla SpiderMonkey JavaScript engine."
repository = "https://github.com/servo/mozjs/"
version = "0.68.2"
authors = ["Mozilla"]
links = "mozjs"
build = "build.rs"
license = "MPL-2.0"
exclude = [
"mozjs/js/src/tests/**",
"mozjs/js/src/octane/**",
"mozjs/js/src/jit-test/**",
"mozjs/js/src/jsapi-tests/**",
"mozjs/js/src/doc/**",
]
[features]
debugmozjs = []
profilemozjs = []
uwp = []
jitspew = []
[lib]
name = "mozjs_sys"
# The generated jsapi.rs contains #[doc] strings which look like
# doctests but are definitely not.
doctest = false
[dependencies]
encoding_c = "0.9.6"
encoding_c_mem = "0.2.5"
libc = "0.2"
libz-sys = "1.0"
[build-dependencies]
bindgen = { version = "0.58", default-features = false, features = ["runtime", "which-rustfmt"] }
cc = "1.0"
walkdir = "2"