mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Renamed js crate to mozjs
This commit is contained in:
parent
70bbb9bf94
commit
8008ba5081
5 changed files with 26 additions and 27 deletions
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue