diff options
author | Zbynek Winkler <zbynek.winkler@gmail.com> | 2016-04-20 12:50:42 +0200 |
---|---|---|
committer | Zbynek Winkler <zbynek.winkler@gmail.com> | 2016-04-22 22:20:06 +0200 |
commit | 41c293293b57abc5c55b5396f8cf9d38da11e402 (patch) | |
tree | 6d532c3a1dbd340566d22f0036169f7f1dd0487f /components/servo | |
parent | b021874ba08f1d207e70ddaf32b374c9533e29f0 (diff) | |
download | servo-41c293293b57abc5c55b5396f8cf9d38da11e402.tar.gz servo-41c293293b57abc5c55b5396f8cf9d38da11e402.zip |
Remove references to unused crates.
The cleanup is based on info from using "-W unused-extern-crates".
Diffstat (limited to 'components/servo')
-rw-r--r-- | components/servo/Cargo.lock | 8 | ||||
-rw-r--r-- | components/servo/Cargo.toml | 3 | ||||
-rw-r--r-- | components/servo/main.rs | 3 |
3 files changed, 2 insertions, 12 deletions
diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index 54958de7a55..d770ce0ab2e 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -30,7 +30,6 @@ dependencies = [ "net_tests 0.0.1", "net_traits 0.0.1", "net_traits_tests 0.0.1", - "offscreen_gl_context 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "plugin_compiletest 0.0.1", "profile 0.0.1", "profile_traits 0.0.1", @@ -167,7 +166,6 @@ dependencies = [ "gfx_traits 0.0.1", "gleam 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.2.2 (git+https://github.com/servo/ipc-channel)", - "layers 0.2.4 (git+https://github.com/servo/rust-layers)", "log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "num 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)", "offscreen_gl_context 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -187,11 +185,9 @@ dependencies = [ "heapsize 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_plugin 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.2.2 (git+https://github.com/servo/ipc-channel)", - "offscreen_gl_context 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "plugins 0.0.1", "serde 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "util 0.0.1", "webrender_traits 0.1.0 (git+https://github.com/servo/webrender_traits)", ] @@ -408,7 +404,6 @@ dependencies = [ "devtools_traits 0.0.1", "hyper 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.2.2 (git+https://github.com/servo/ipc-channel)", - "log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "plugins 0.0.1", "serde 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -433,7 +428,6 @@ dependencies = [ "serde_macros 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", "url 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)", - "util 0.0.1", ] [[package]] @@ -736,7 +730,6 @@ dependencies = [ "plugins 0.0.1", "serde 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "util 0.0.1", ] [[package]] @@ -1062,7 +1055,6 @@ dependencies = [ "script 0.0.1", "script_traits 0.0.1", "selectors 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde_macros 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml index f62468c5151..bbc884f6516 100644 --- a/components/servo/Cargo.toml +++ b/components/servo/Cargo.toml @@ -127,7 +127,7 @@ optional = true version = "0.1.3" optional = true -[dependencies.log] +[target.arm-linux-androideabi.dependencies.log] version = "0.3" features = ["release_max_level_info"] @@ -168,5 +168,4 @@ bitflags = "0.3" env_logger = "0.3" euclid = {version = "0.6.4", features = ["plugins"]} libc = "0.2" -offscreen_gl_context = "0.1.2" url = {version = "0.5.7", features = ["heap_size", "serde_serialization", "query_encoding"]} diff --git a/components/servo/main.rs b/components/servo/main.rs index b5e2812a595..214d9ee101d 100644 --- a/components/servo/main.rs +++ b/components/servo/main.rs @@ -21,14 +21,13 @@ #[macro_use] extern crate android_glue; extern crate env_logger; -extern crate gleam; // The window backed by glutin extern crate glutin_app as app; #[cfg(target_os = "android")] extern crate libc; +#[cfg(target_os = "android")] #[macro_use] extern crate log; -extern crate offscreen_gl_context; // The Servo engine extern crate servo; |