Renamed js crate to mozjs

This commit is contained in:
Alan Jeffrey 2017-11-07 12:18:07 -06:00
parent 70bbb9bf94
commit 8008ba5081
5 changed files with 26 additions and 27 deletions

View file

@ -9,14 +9,14 @@ publish = false
path = "lib.rs"
[features]
servo = ["js", "string_cache", "url", "webrender_api", "xml5ever"]
servo = ["mozjs", "string_cache", "url", "webrender_api", "xml5ever"]
[dependencies]
app_units = "0.5.5"
cssparser = "0.22.0"
euclid = "0.15"
hashglobe = { path = "../hashglobe" }
js = { git = "https://github.com/servo/rust-mozjs", features = ["promises"], optional = true }
mozjs = { version = "0.1.7", features = ["promises"], optional = true }
servo_arc = { path = "../servo_arc" }
smallbitvec = "1.0.3"
smallvec = "0.4"

View file

@ -48,7 +48,7 @@ extern crate cssparser;
extern crate euclid;
extern crate hashglobe;
#[cfg(feature = "servo")]
extern crate js;
extern crate mozjs as js;
extern crate servo_arc;
extern crate smallbitvec;
extern crate smallvec;