mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
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 -->
This commit is contained in:
commit
305c283602
8 changed files with 0 additions and 21 deletions
|
@ -98,7 +98,3 @@ serde = "0.7"
|
||||||
serde_macros = "0.7"
|
serde_macros = "0.7"
|
||||||
time = "0.1.17"
|
time = "0.1.17"
|
||||||
url = {version = "0.5.7", features = ["heap_size"]}
|
url = {version = "0.5.7", features = ["heap_size"]}
|
||||||
|
|
||||||
[target.x86_64-apple-darwin.dependencies]
|
|
||||||
core-graphics = "0.3"
|
|
||||||
core-text = "1.1"
|
|
||||||
|
|
|
@ -18,10 +18,6 @@ extern crate azure;
|
||||||
extern crate canvas;
|
extern crate canvas;
|
||||||
extern crate canvas_traits;
|
extern crate canvas_traits;
|
||||||
extern crate clipboard;
|
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 devtools_traits;
|
||||||
extern crate euclid;
|
extern crate euclid;
|
||||||
#[cfg(not(target_os = "windows"))]
|
#[cfg(not(target_os = "windows"))]
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
use rustc::hir::def_id::DefId;
|
use rustc::hir::def_id::DefId;
|
||||||
use rustc::hir::map as ast_map;
|
|
||||||
use rustc::hir::{self, def};
|
use rustc::hir::{self, def};
|
||||||
use rustc::lint::{LateContext, LintContext};
|
use rustc::lint::{LateContext, LintContext};
|
||||||
use syntax::ast;
|
use syntax::ast;
|
||||||
|
|
3
components/servo/Cargo.lock
generated
3
components/servo/Cargo.lock
generated
|
@ -285,8 +285,6 @@ dependencies = [
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"clipboard 0.1.2 (git+https://github.com/aweinstock314/rust-clipboard)",
|
"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",
|
"devtools_traits 0.0.1",
|
||||||
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gaol 0.0.1 (git+https://github.com/servo/gaol)",
|
"gaol 0.0.1 (git+https://github.com/servo/gaol)",
|
||||||
|
@ -770,7 +768,6 @@ name = "glutin_app"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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",
|
"compositing 0.0.1",
|
||||||
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"gleam 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
3
ports/cef/Cargo.lock
generated
3
ports/cef/Cargo.lock
generated
|
@ -255,8 +255,6 @@ dependencies = [
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"clipboard 0.1.2 (git+https://github.com/aweinstock314/rust-clipboard)",
|
"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",
|
"devtools_traits 0.0.1",
|
||||||
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gaol 0.0.1 (git+https://github.com/servo/gaol)",
|
"gaol 0.0.1 (git+https://github.com/servo/gaol)",
|
||||||
|
@ -690,7 +688,6 @@ name = "glutin_app"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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",
|
"compositing 0.0.1",
|
||||||
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"gleam 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -48,8 +48,5 @@ x11 = "2.0.0"
|
||||||
[target.aarch64-unknown-linux-gnu.dependencies]
|
[target.aarch64-unknown-linux-gnu.dependencies]
|
||||||
x11 = "2.0.0"
|
x11 = "2.0.0"
|
||||||
|
|
||||||
[target.x86_64-apple-darwin.dependencies]
|
|
||||||
cgl = "0.1"
|
|
||||||
|
|
||||||
[target.arm-linux-androideabi.dependencies]
|
[target.arm-linux-androideabi.dependencies]
|
||||||
servo-egl = "0.2"
|
servo-egl = "0.2"
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#![feature(box_syntax)]
|
#![feature(box_syntax)]
|
||||||
|
|
||||||
#[macro_use] extern crate bitflags;
|
#[macro_use] extern crate bitflags;
|
||||||
#[cfg(target_os = "macos")] extern crate cgl;
|
|
||||||
extern crate compositing;
|
extern crate compositing;
|
||||||
#[allow(unused_extern_crates)]
|
#[allow(unused_extern_crates)]
|
||||||
#[cfg(target_os = "android")] extern crate egl;
|
#[cfg(target_os = "android")] extern crate egl;
|
||||||
|
|
2
ports/gonk/Cargo.lock
generated
2
ports/gonk/Cargo.lock
generated
|
@ -248,8 +248,6 @@ dependencies = [
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"clipboard 0.1.2 (git+https://github.com/aweinstock314/rust-clipboard)",
|
"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",
|
"devtools_traits 0.0.1",
|
||||||
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gaol 0.0.1 (git+https://github.com/servo/gaol)",
|
"gaol 0.0.1 (git+https://github.com/servo/gaol)",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue