diff options
-rw-r--r-- | Cargo.lock | 1 | ||||
-rw-r--r-- | tests/unit/stylo/Cargo.toml | 1 | ||||
-rw-r--r-- | tests/unit/stylo/lib.rs | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index b66e4ffe5ed..bdf3fb01c9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2791,6 +2791,7 @@ dependencies = [ "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "rayon 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "selectors 0.18.0", "servo_url 0.0.1", "style 0.0.1", diff --git a/tests/unit/stylo/Cargo.toml b/tests/unit/stylo/Cargo.toml index ea6761f7f00..f41a90ca567 100644 --- a/tests/unit/stylo/Cargo.toml +++ b/tests/unit/stylo/Cargo.toml @@ -22,6 +22,7 @@ libc = "0.2" log = {version = "0.3.5", features = ["release_max_level_info"]} num_cpus = "1.1.0" parking_lot = "0.3" +rayon = "0.6" selectors = {path = "../../../components/selectors"} servo_url = {path = "../../../components/url"} style_traits = {path = "../../../components/style_traits"} diff --git a/tests/unit/stylo/lib.rs b/tests/unit/stylo/lib.rs index 54d07147082..8e2cf196190 100644 --- a/tests/unit/stylo/lib.rs +++ b/tests/unit/stylo/lib.rs @@ -8,8 +8,11 @@ extern crate cssparser; extern crate env_logger; extern crate euclid; extern crate geckoservo; +#[macro_use] extern crate lazy_static; #[macro_use] extern crate log; +extern crate num_cpus; extern crate parking_lot; +extern crate rayon; extern crate selectors; extern crate servo_url; extern crate style; |