forked from servo/mozjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (38 loc) · 844 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
40
41
42
[package]
name = "mozjs_sys"
description = "System crate for the Mozilla SpiderMonkey JavaScript engine."
repository.workspace = true
version = "0.115.9-0"
authors = ["Mozilla"]
links = "mozjs"
build = "build.rs"
license.workspace = true
exclude = [
"mozjs/js/src/tests/**",
"mozjs/js/src/octane/**",
"mozjs/js/src/jit-test/**",
"mozjs/js/src/jsapi-tests/**",
"mozjs/js/src/doc/**",
]
edition.workspace = true
[lib]
name = "mozjs_sys"
# The generated jsapi.rs contains #[doc] strings which look like
# doctests but are definitely not.
doctest = false
[features]
debugmozjs = []
profilemozjs = []
jitspew = []
streams = []
[dependencies]
encoding_c = "0.9.8"
encoding_c_mem = "0.2.6"
libc.workspace = true
libz-sys = "1.1.13"
[build-dependencies]
bindgen.workspace = true
cc.workspace = true
walkdir = "2"
flate2 = "1"
tar = "0.4"