aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/canvas/Cargo.toml1
-rw-r--r--components/canvas/lib.rs3
-rw-r--r--components/canvas_traits/Cargo.toml1
-rw-r--r--components/canvas_traits/lib.rs2
-rw-r--r--components/compositing/Cargo.toml1
-rw-r--r--components/compositing/lib.rs5
-rw-r--r--components/config/Cargo.toml3
-rw-r--r--components/config/lib.rs3
-rw-r--r--components/constellation/Cargo.toml1
-rw-r--r--components/constellation/lib.rs5
-rw-r--r--components/devtools/Cargo.toml1
-rw-r--r--components/devtools/lib.rs5
-rw-r--r--components/gfx/Cargo.toml1
-rw-r--r--components/gfx/lib.rs3
-rw-r--r--components/gfx_traits/Cargo.toml1
-rw-r--r--components/gfx_traits/lib.rs3
-rw-r--r--components/layout/Cargo.toml1
-rw-r--r--components/layout/lib.rs6
-rw-r--r--components/layout_thread/Cargo.toml1
-rw-r--r--components/layout_thread/lib.rs3
-rw-r--r--components/msg/Cargo.toml1
-rw-r--r--components/msg/lib.rs3
-rw-r--r--components/net/Cargo.toml1
-rw-r--r--components/net/lib.rs5
-rw-r--r--components/plugins/Cargo.toml18
-rw-r--r--components/plugins/lib.rs22
-rw-r--r--components/profile/Cargo.toml1
-rw-r--r--components/profile/lib.rs2
-rw-r--r--components/profile_traits/Cargo.toml1
-rw-r--r--components/profile_traits/lib.rs5
-rw-r--r--components/script/Cargo.toml1
-rw-r--r--components/script/lib.rs1
-rw-r--r--components/script_layout_interface/Cargo.toml1
-rw-r--r--components/script_layout_interface/lib.rs2
-rw-r--r--components/script_traits/Cargo.toml1
-rw-r--r--components/script_traits/lib.rs2
-rw-r--r--components/servo/Cargo.toml2
-rw-r--r--components/webdriver_server/Cargo.toml1
-rw-r--r--components/webdriver_server/lib.rs3
39 files changed, 7 insertions, 116 deletions
diff --git a/components/canvas/Cargo.toml b/components/canvas/Cargo.toml
index b3e2eed7270..f4e9ac1bf04 100644
--- a/components/canvas/Cargo.toml
+++ b/components/canvas/Cargo.toml
@@ -19,7 +19,6 @@ ipc-channel = "0.7"
log = "0.3.5"
num-traits = "0.1.32"
offscreen_gl_context = "0.6"
-plugins = {path = "../plugins"}
servo_config = {path = "../config"}
[dependencies.webrender_traits]
diff --git a/components/canvas/lib.rs b/components/canvas/lib.rs
index 70143d80a86..b96c07ccba3 100644
--- a/components/canvas/lib.rs
+++ b/components/canvas/lib.rs
@@ -2,9 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#![feature(plugin)]
-#![plugin(plugins)]
-
#![deny(unsafe_code)]
extern crate azure;
diff --git a/components/canvas_traits/Cargo.toml b/components/canvas_traits/Cargo.toml
index 64e0cc1f0d5..3827ea51f86 100644
--- a/components/canvas_traits/Cargo.toml
+++ b/components/canvas_traits/Cargo.toml
@@ -15,7 +15,6 @@ euclid = "0.11"
heapsize = "0.3.0"
heapsize_derive = "0.1"
ipc-channel = "0.7"
-plugins = {path = "../plugins"}
serde = {version = "0.9", features = ["unstable"]}
serde_derive = "0.9"
diff --git a/components/canvas_traits/lib.rs b/components/canvas_traits/lib.rs
index e9f73a83adf..3d74b84f475 100644
--- a/components/canvas_traits/lib.rs
+++ b/components/canvas_traits/lib.rs
@@ -4,8 +4,6 @@
#![crate_name = "canvas_traits"]
#![crate_type = "rlib"]
-#![feature(plugin)]
-#![plugin(plugins)]
#![deny(unsafe_code)]
diff --git a/components/compositing/Cargo.toml b/components/compositing/Cargo.toml
index ba89a3d6ab0..aec4550a72f 100644
--- a/components/compositing/Cargo.toml
+++ b/components/compositing/Cargo.toml
@@ -18,7 +18,6 @@ ipc-channel = "0.7"
log = "0.3.5"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
-plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
script_traits = {path = "../script_traits"}
servo_config = {path = "../config", features = ["servo"]}
diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs
index 8c7d2991959..645cf737877 100644
--- a/components/compositing/lib.rs
+++ b/components/compositing/lib.rs
@@ -2,11 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#![feature(box_syntax)]
-#![feature(plugin)]
-#![plugin(plugins)]
-
#![deny(unsafe_code)]
+#![feature(box_syntax)]
extern crate euclid;
extern crate gfx_traits;
diff --git a/components/config/Cargo.toml b/components/config/Cargo.toml
index 02af22c68fd..e42a2e4e5f2 100644
--- a/components/config/Cargo.toml
+++ b/components/config/Cargo.toml
@@ -11,7 +11,7 @@ path = "lib.rs"
[features]
# servo as opposed to geckolib
-servo = ["plugins", "serde", "serde_derive", "servo_url/servo"]
+servo = ["serde", "serde_derive", "servo_url/servo"]
[dependencies]
euclid = "0.11"
@@ -19,7 +19,6 @@ getopts = "0.2.11"
lazy_static = "0.2"
log = "0.3.5"
num_cpus = "1.1.0"
-plugins = {path = "../plugins", optional = true}
rustc-serialize = "0.3"
serde = {version = "0.9", optional = true}
serde_derive = {version = "0.9", optional = true}
diff --git a/components/config/lib.rs b/components/config/lib.rs
index f7ba7e5f0ca..1a0c5b10186 100644
--- a/components/config/lib.rs
+++ b/components/config/lib.rs
@@ -2,9 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#![cfg_attr(feature = "servo", feature(plugin))]
-#![cfg_attr(feature = "servo", plugin(plugins))]
-
#![deny(unsafe_code)]
extern crate euclid;
diff --git a/components/constellation/Cargo.toml b/components/constellation/Cargo.toml
index 4d3524b9d20..568edb9586d 100644
--- a/components/constellation/Cargo.toml
+++ b/components/constellation/Cargo.toml
@@ -26,7 +26,6 @@ log = "0.3.5"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
offscreen_gl_context = "0.6"
-plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
script_traits = {path = "../script_traits"}
serde = "0.9"
diff --git a/components/constellation/lib.rs b/components/constellation/lib.rs
index 92417412887..22e7a29a9de 100644
--- a/components/constellation/lib.rs
+++ b/components/constellation/lib.rs
@@ -2,13 +2,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#![deny(unsafe_code)]
#![feature(box_syntax)]
#![feature(conservative_impl_trait)]
#![feature(mpsc_select)]
-#![feature(plugin)]
-#![plugin(plugins)]
-
-#![deny(unsafe_code)]
extern crate backtrace;
extern crate bluetooth_traits;
diff --git a/components/devtools/Cargo.toml b/components/devtools/Cargo.toml
index 75ecd3263a3..d1d35ddafca 100644
--- a/components/devtools/Cargo.toml
+++ b/components/devtools/Cargo.toml
@@ -17,7 +17,6 @@ hyper_serde = "0.5"
ipc-channel = "0.7"
log = "0.3.5"
msg = {path = "../msg"}
-plugins = {path = "../plugins"}
serde = "0.9"
serde_derive = "0.9"
serde_json = "0.9"
diff --git a/components/devtools/lib.rs b/components/devtools/lib.rs
index 5f3a1397ac3..380c5c85236 100644
--- a/components/devtools/lib.rs
+++ b/components/devtools/lib.rs
@@ -10,12 +10,9 @@
#![crate_name = "devtools"]
#![crate_type = "rlib"]
-#![feature(box_syntax)]
-#![feature(plugin)]
-#![plugin(plugins)]
-
#![allow(non_snake_case)]
#![deny(unsafe_code)]
+#![feature(box_syntax)]
extern crate devtools_traits;
extern crate encoding;
diff --git a/components/gfx/Cargo.toml b/components/gfx/Cargo.toml
index e2f19db0a99..3e496106f21 100644
--- a/components/gfx/Cargo.toml
+++ b/components/gfx/Cargo.toml
@@ -27,7 +27,6 @@ log = "0.3.5"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
ordered-float = "0.4"
-plugins = {path = "../plugins"}
range = {path = "../range"}
serde = "0.9"
serde_derive = "0.9"
diff --git a/components/gfx/lib.rs b/components/gfx/lib.rs
index 3ada12238ac..09c1c16951d 100644
--- a/components/gfx/lib.rs
+++ b/components/gfx/lib.rs
@@ -8,12 +8,9 @@
#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(alloc))]
#![feature(box_syntax)]
-#![feature(plugin)]
#![feature(range_contains)]
#![feature(unique)]
-#![plugin(plugins)]
-
#![deny(unsafe_code)]
#[cfg(any(target_os = "linux", target_os = "android"))]
diff --git a/components/gfx_traits/Cargo.toml b/components/gfx_traits/Cargo.toml
index f832ebb3004..c8beb2ad2b7 100644
--- a/components/gfx_traits/Cargo.toml
+++ b/components/gfx_traits/Cargo.toml
@@ -12,7 +12,6 @@ path = "lib.rs"
[dependencies]
heapsize = "0.3.0"
heapsize_derive = "0.1"
-plugins = {path = "../plugins"}
range = {path = "../range"}
serde = "0.9"
serde_derive = "0.9"
diff --git a/components/gfx_traits/lib.rs b/components/gfx_traits/lib.rs
index a23c8e012bc..0dae3d6fff1 100644
--- a/components/gfx_traits/lib.rs
+++ b/components/gfx_traits/lib.rs
@@ -2,9 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#![feature(plugin)]
-#![plugin(plugins)]
-
#![crate_name = "gfx_traits"]
#![crate_type = "rlib"]
diff --git a/components/layout/Cargo.toml b/components/layout/Cargo.toml
index 85b7ddb1d38..5fc1218b055 100644
--- a/components/layout/Cargo.toml
+++ b/components/layout/Cargo.toml
@@ -28,7 +28,6 @@ msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
ordered-float = "0.4"
parking_lot = "0.3.3"
-plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
rayon = "0.6"
diff --git a/components/layout/lib.rs b/components/layout/lib.rs
index bd71724c790..50ab10f052c 100644
--- a/components/layout/lib.rs
+++ b/components/layout/lib.rs
@@ -2,18 +2,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#![deny(unsafe_code)]
#![feature(box_patterns)]
#![feature(box_syntax)]
#![feature(conservative_impl_trait)]
#![feature(nonzero)]
-#![feature(plugin)]
#![feature(raw)]
#![feature(step_by)]
-#![deny(unsafe_code)]
-
-#![plugin(plugins)]
-
extern crate app_units;
extern crate atomic_refcell;
#[macro_use]
diff --git a/components/layout_thread/Cargo.toml b/components/layout_thread/Cargo.toml
index 865bfdb68e9..2a46f3a2789 100644
--- a/components/layout_thread/Cargo.toml
+++ b/components/layout_thread/Cargo.toml
@@ -24,7 +24,6 @@ log = "0.3.5"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
parking_lot = {version = "0.3.3", features = ["nightly"]}
-plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
rayon = "0.6"
script = {path = "../script"}
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs
index 3721cc48d17..8626385a026 100644
--- a/components/layout_thread/lib.rs
+++ b/components/layout_thread/lib.rs
@@ -7,9 +7,6 @@
#![feature(box_syntax)]
#![feature(mpsc_select)]
-#![feature(plugin)]
-
-#![plugin(plugins)]
extern crate app_units;
extern crate euclid;
diff --git a/components/msg/Cargo.toml b/components/msg/Cargo.toml
index abcd274e79d..18e41acde06 100644
--- a/components/msg/Cargo.toml
+++ b/components/msg/Cargo.toml
@@ -14,7 +14,6 @@ bitflags = "0.7"
cssparser = {version = "0.10", features = ["heapsize", "serde"]}
heapsize = "0.3.0"
heapsize_derive = "0.1"
-plugins = {path = "../plugins"}
serde = "0.9"
serde_derive = "0.9"
diff --git a/components/msg/lib.rs b/components/msg/lib.rs
index 6257340c385..8014597a2f4 100644
--- a/components/msg/lib.rs
+++ b/components/msg/lib.rs
@@ -2,9 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#![feature(plugin)]
-#![plugin(plugins)]
-
#![deny(unsafe_code)]
#[macro_use]
diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml
index 612f3e786b3..da1db328a8f 100644
--- a/components/net/Cargo.toml
+++ b/components/net/Cargo.toml
@@ -28,7 +28,6 @@ msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
openssl = "0.7.6"
openssl-verify = "0.1"
-plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
rustc-serialize = "0.3"
servo_config = {path = "../config"}
diff --git a/components/net/lib.rs b/components/net/lib.rs
index 082627067a8..d4edd3ec953 100644
--- a/components/net/lib.rs
+++ b/components/net/lib.rs
@@ -2,12 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#![deny(unsafe_code)]
#![feature(box_syntax)]
#![feature(mpsc_select)]
-#![feature(plugin)]
-#![plugin(plugins)]
-
-#![deny(unsafe_code)]
extern crate brotli;
extern crate content_blocker as content_blocker_parser;
diff --git a/components/plugins/Cargo.toml b/components/plugins/Cargo.toml
deleted file mode 100644
index ad40e1b3797..00000000000
--- a/components/plugins/Cargo.toml
+++ /dev/null
@@ -1,18 +0,0 @@
-[package]
-name = "plugins"
-version = "0.0.1"
-authors = ["The Servo Project Developers"]
-license = "MPL-2.0"
-publish = false
-
-[lib]
-name = "plugins"
-path = "lib.rs"
-plugin = true
-
-[dependencies.clippy_lints]
-version = "0.0.112"
-optional = true
-
-[features]
-clippy = ["clippy_lints"]
diff --git a/components/plugins/lib.rs b/components/plugins/lib.rs
deleted file mode 100644
index d3e54a21a4d..00000000000
--- a/components/plugins/lib.rs
+++ /dev/null
@@ -1,22 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-//! Exists only to hook into clippy.
-
-#![cfg_attr(feature = "clippy", feature(plugin, plugin_registrar, rustc_private))]
-#![deny(unsafe_code)]
-
-#[cfg(feature = "clippy")]
-extern crate clippy_lints;
-#[cfg(feature = "clippy")]
-extern crate rustc_plugin;
-
-#[cfg(feature = "clippy")]
-use rustc_plugin::Registry;
-
-#[cfg(feature = "clippy")]
-#[plugin_registrar]
-pub fn plugin_registrar(reg: &mut Registry) {
- ::clippy_lints::register_plugins(reg);
-}
diff --git a/components/profile/Cargo.toml b/components/profile/Cargo.toml
index f85f5264aa0..275b3d92d19 100644
--- a/components/profile/Cargo.toml
+++ b/components/profile/Cargo.toml
@@ -11,7 +11,6 @@ path = "lib.rs"
[dependencies]
profile_traits = {path = "../profile_traits"}
-plugins = {path = "../plugins"}
ipc-channel = "0.7"
heartbeats-simple = "0.4"
log = "0.3.5"
diff --git a/components/profile/lib.rs b/components/profile/lib.rs
index a2a4d3da449..6a598ad3764 100644
--- a/components/profile/lib.rs
+++ b/components/profile/lib.rs
@@ -4,8 +4,6 @@
#![cfg_attr(not(target_os = "windows"), feature(alloc_jemalloc))]
#![feature(box_syntax)]
-#![feature(plugin)]
-#![plugin(plugins)]
#![deny(unsafe_code)]
diff --git a/components/profile_traits/Cargo.toml b/components/profile_traits/Cargo.toml
index 15afbf0dfc9..ab85d396960 100644
--- a/components/profile_traits/Cargo.toml
+++ b/components/profile_traits/Cargo.toml
@@ -17,7 +17,6 @@ energy-monitor = {version = "0.2.0", optional = true}
energymon = {git = "https://github.com/energymon/energymon-rust.git", optional = true}
ipc-channel = "0.7"
log = "0.3.5"
-plugins = {path = "../plugins"}
serde = "0.9"
serde_derive = "0.9"
servo_config = {path = "../config"}
diff --git a/components/profile_traits/lib.rs b/components/profile_traits/lib.rs
index ed042262f31..5a2d96bae10 100644
--- a/components/profile_traits/lib.rs
+++ b/components/profile_traits/lib.rs
@@ -6,11 +6,8 @@
//! rest of Servo. These APIs are here instead of in `profile` so that these
//! modules won't have to depend on `profile`.
-#![feature(box_syntax)]
-#![feature(plugin)]
-#![plugin(plugins)]
-
#![deny(unsafe_code)]
+#![feature(box_syntax)]
extern crate ipc_channel;
#[macro_use]
diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml
index 4007e7ae040..eb737dfb2b6 100644
--- a/components/script/Cargo.toml
+++ b/components/script/Cargo.toml
@@ -63,7 +63,6 @@ offscreen_gl_context = "0.6"
open = "1.1.1"
parking_lot = "0.3"
phf = "0.7.18"
-plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
ref_filter_map = "1.0.1"
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 92be1272d6f..8a2829059c0 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -22,7 +22,6 @@
#![doc = "The script crate contains all matters DOM."]
-#![plugin(plugins)]
#![plugin(script_plugins)]
extern crate angle;
diff --git a/components/script_layout_interface/Cargo.toml b/components/script_layout_interface/Cargo.toml
index 6476693f758..a938251f533 100644
--- a/components/script_layout_interface/Cargo.toml
+++ b/components/script_layout_interface/Cargo.toml
@@ -24,7 +24,6 @@ libc = "0.2"
log = "0.3.5"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
-plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
script_traits = {path = "../script_traits"}
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs
index d5bebc8b2d3..87b76763d7d 100644
--- a/components/script_layout_interface/lib.rs
+++ b/components/script_layout_interface/lib.rs
@@ -9,8 +9,6 @@
#![deny(unsafe_code)]
#![feature(box_syntax)]
#![feature(nonzero)]
-#![feature(plugin)]
-#![plugin(plugins)]
extern crate app_units;
extern crate atomic_refcell;
diff --git a/components/script_traits/Cargo.toml b/components/script_traits/Cargo.toml
index 682eb002f81..4d5991074eb 100644
--- a/components/script_traits/Cargo.toml
+++ b/components/script_traits/Cargo.toml
@@ -26,7 +26,6 @@ libc = "0.2"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
offscreen_gl_context = "0.6"
-plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
rustc-serialize = "0.3.4"
serde = "0.9"
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 92a2304bda8..7bf54dc841a 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -6,8 +6,6 @@
//! The traits are here instead of in script so that these modules won't have
//! to depend on script.
-#![feature(plugin)]
-#![plugin(plugins)]
#![deny(missing_docs)]
#![deny(unsafe_code)]
diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml
index 8c66ba323b8..79706205483 100644
--- a/components/servo/Cargo.toml
+++ b/components/servo/Cargo.toml
@@ -17,7 +17,6 @@ max_log_level = ["log/release_max_level_info"]
webdriver = ["webdriver_server"]
energy-profiling = ["profile_traits/energy-profiling"]
testing = ["style/testing"]
-clippy = ["plugins/clippy"]
debugmozjs = ["script/debugmozjs"]
[dependencies]
@@ -40,7 +39,6 @@ log = "0.3"
msg = {path = "../msg"}
net = {path = "../net"}
net_traits = {path = "../net_traits"}
-plugins = {path = "../plugins", optional = true}
profile = {path = "../profile"}
profile_traits = {path = "../profile_traits"}
script = {path = "../script"}
diff --git a/components/webdriver_server/Cargo.toml b/components/webdriver_server/Cargo.toml
index 51ebd48b330..689ddf039a4 100644
--- a/components/webdriver_server/Cargo.toml
+++ b/components/webdriver_server/Cargo.toml
@@ -18,7 +18,6 @@ ipc-channel = "0.7"
log = "0.3.5"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
-plugins = {path = "../plugins"}
regex = "0.2"
rustc-serialize = "0.3.4"
script_traits = {path = "../script_traits"}
diff --git a/components/webdriver_server/lib.rs b/components/webdriver_server/lib.rs
index 6f9243da146..e243bc2b05e 100644
--- a/components/webdriver_server/lib.rs
+++ b/components/webdriver_server/lib.rs
@@ -5,9 +5,6 @@
#![crate_name = "webdriver_server"]
#![crate_type = "rlib"]
-#![feature(plugin)]
-#![plugin(plugins)]
-
#![deny(unsafe_code)]
extern crate cookie as cookie_rs;