js/rust/Cargo.toml
author Matt Brubeck <mbrubeck@mozilla.com>
Thu, 08 Mar 2018 07:35:11 -0800
changeset 764913 b58f4583b6f1efef65316e5902050bebef1981ca
parent 762779 14a28deeba4dadfbdec9adec0e2ff59bc65527f5
child 772806 abbb8a8ea9816b0e2f72769e92076e8f66d63aa8
permissions -rw-r--r--
Bug 1444097 - Clean up env_logger dependencies. r?ted For the "js" crate, disable the "regex" feature to reduce binary size. For the "u2fhid" crate, it's used only in examples. Make it a dev-dependency so it won't be part of the Firefox build. MozReview-Commit-ID: DY9indMqrRw

[package]
name = "js"
version = "0.1.4"
authors = ["The Servo Project Developers"]
build = "build.rs"
license = "MPL-2.0"

[build-dependencies]
env_logger = {version = "0.4", default-features = false} # disable `regex` to reduce code size
log = "0.3"
bindgen = {version = "0.33.1", default-features = false} # disable `logging` to reduce code size
cmake = "0.1"
glob = "0.2.11"

[[test]]
name = "callback"
[[test]]
name = "enumerate"
[[test]]
name = "evaluate"
[[test]]
name = "panic"
[[test]]
name = "rooting"
[[test]]
name = "runtime"
[[test]]
name = "typedarray"
[[test]]
name = "stack_limit"
[[test]]
name = "vec_conversion"

[lib]
doctest = false

[features]
debugmozjs = ['mozjs_sys/debugmozjs']
promises = ['mozjs_sys/promises']
nonzero = []

[dependencies.mozjs_sys]
path = "../src"

[dependencies]
lazy_static = "0.2.1"
libc = "0.2"
log = "0.3"
num-traits = "0.1.32"