aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-04-23 07:51:44 -0700
committerbors-servo <lbergstrom+bors@mozilla.com>2016-04-23 07:51:44 -0700
commit305c283602882850be9d39c43b980d0fc0f93a3c (patch)
tree2c4e7ffce0d9ac5a8a68914640ac70edcc7d38da /components
parent75ae1c033f41a0c9537c693c546a08cdbddc9dd3 (diff)
parent97637d89490ac170ebec7a9a995ba15a58bc81f3 (diff)
downloadservo-305c283602882850be9d39c43b980d0fc0f93a3c.tar.gz
servo-305c283602882850be9d39c43b980d0fc0f93a3c.zip
Auto merge of #10823 - jdm:import, r=frewsxcv
Squash unused import and unused crate warnings. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10823) <!-- Reviewable:end -->
Diffstat (limited to 'components')
-rw-r--r--components/compositing/Cargo.toml4
-rw-r--r--components/compositing/lib.rs4
-rw-r--r--components/plugins/utils.rs1
-rw-r--r--components/servo/Cargo.lock3
4 files changed, 0 insertions, 12 deletions
diff --git a/components/compositing/Cargo.toml b/components/compositing/Cargo.toml
index eac352b1d51..1af3b4047c7 100644
--- a/components/compositing/Cargo.toml
+++ b/components/compositing/Cargo.toml
@@ -98,7 +98,3 @@ serde = "0.7"
serde_macros = "0.7"
time = "0.1.17"
url = {version = "0.5.7", features = ["heap_size"]}
-
-[target.x86_64-apple-darwin.dependencies]
-core-graphics = "0.3"
-core-text = "1.1"
diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs
index eafe95a272a..22ebd94f187 100644
--- a/components/compositing/lib.rs
+++ b/components/compositing/lib.rs
@@ -18,10 +18,6 @@ extern crate azure;
extern crate canvas;
extern crate canvas_traits;
extern crate clipboard;
-#[cfg(target_os = "macos")]
-extern crate core_graphics;
-#[cfg(target_os = "macos")]
-extern crate core_text;
extern crate devtools_traits;
extern crate euclid;
#[cfg(not(target_os = "windows"))]
diff --git a/components/plugins/utils.rs b/components/plugins/utils.rs
index b39102f5626..3b96bedd0f1 100644
--- a/components/plugins/utils.rs
+++ b/components/plugins/utils.rs
@@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use rustc::hir::def_id::DefId;
-use rustc::hir::map as ast_map;
use rustc::hir::{self, def};
use rustc::lint::{LateContext, LintContext};
use syntax::ast;
diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock
index ed25d333ea3..8a1ec6efade 100644
--- a/components/servo/Cargo.lock
+++ b/components/servo/Cargo.lock
@@ -285,8 +285,6 @@ dependencies = [
"canvas 0.0.1",
"canvas_traits 0.0.1",
"clipboard 0.1.2 (git+https://github.com/aweinstock314/rust-clipboard)",
- "core-graphics 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "core-text 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"devtools_traits 0.0.1",
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
"gaol 0.0.1 (git+https://github.com/servo/gaol)",
@@ -770,7 +768,6 @@ name = "glutin_app"
version = "0.0.1"
dependencies = [
"bitflags 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "cgl 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"compositing 0.0.1",
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
"gleam 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)",