From 6dec4580e67c8950ce3fe0ce950b18a541dbb4cf Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 22 Dec 2016 19:54:04 +0100 Subject: [PATCH] Remove the unused dependency of style to plugins. --- Cargo.lock | 1 - components/style/Cargo.toml | 3 +-- components/style/lib.rs | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b04c43f8ecc..cce0a8e4bbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2744,7 +2744,6 @@ dependencies = [ "parking_lot 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "phf 0.7.20 (registry+https://github.com/rust-lang/crates.io-index)", "phf_codegen 0.7.20 (registry+https://github.com/rust-lang/crates.io-index)", - "plugins 0.0.1", "quickersort 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "rayon 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/components/style/Cargo.toml b/components/style/Cargo.toml index 32f359fa407..3cc56f23711 100644 --- a/components/style/Cargo.toml +++ b/components/style/Cargo.toml @@ -18,7 +18,7 @@ bindgen = ["libbindgen", "regex"] servo = ["serde/unstable", "serde", "serde_derive", "heapsize_derive", "style_traits/servo", "app_units/plugins", "servo_atoms", "html5ever-atoms", "cssparser/heap_size", "cssparser/serde-serialization", - "plugins", "rayon/unstable", "servo_url/servo"] + "rayon/unstable", "servo_url/servo"] testing = [] [dependencies] @@ -56,7 +56,6 @@ style_traits = {path = "../style_traits"} servo_url = {path = "../url"} time = "0.1" unicode-segmentation = "0.1.2" -plugins = {path = "../plugins", optional = true} [dependencies.num_cpus] optional = true diff --git a/components/style/lib.rs b/components/style/lib.rs index 3481a03c4fe..3e82f6ebd6c 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -23,9 +23,7 @@ //! [cssparser]: ../cssparser/index.html //! [selectors]: ../selectors/index.html -#![cfg_attr(feature = "servo", feature(plugin))] #![cfg_attr(feature = "servo", feature(proc_macro))] -#![cfg_attr(feature = "servo", plugin(plugins))] #![deny(warnings)]