[package]

name = "js"
version = "0.1.3"
authors = ["The Servo Project Developers"]
build = "build.rs"

[build-dependencies]
cmake = "0.1"

[[test]]
name = "callback"
[[test]]
name = "evaluate"
[[test]]
name = "stack_limit"
[[test]]
name = "vec_conversion"

[lib]
doctest = false

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

[dependencies.mozjs_sys]
git = "https://github.com/servo/mozjs"

[dependencies]
lazy_static = "0.2.1"
libc = "0.2"
log = "0.3"
heapsize = ">=0.2, <0.4"
num-traits = "0.1.32"

[package]

name = "js"
version = "0.1.3"
authors = ["The Servo Project Developers"]
build = "build.rs"

[build-dependencies]
cmake = "0.1"

[[test]]
name = "callback"
[[test]]
name = "evaluate"
[[test]]
name = "stack_limit"
[[test]]
name = "vec_conversion"

[lib]
doctest = false

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

[dependencies.mozjs_sys]
git = "https://github.com/servo/mozjs"

[dependencies]
lazy_static = "0.2.1"
libc = "0.2"
log = "0.3"
heapsize = ">=0.2, <0.4"
num-traits = "0.1.32"

Add feature to enable native promises.
Add feature to enable native promises.
