Remove some unused dependency declarations

This is based on compiling with `RUSTFLAGS="-W unused_crate_dependencies"` (CC https://github.com/rust-lang/rust/pull/72342) in a recent Nightly (more so than used in the tree as of this writing, CC https://github.com/servo/servo/issues/26661 for work-arounds).

Only one crate is actually removed from the dependency graph, others are still dependended from other places.
This commit is contained in:
Simon Sapin 2020-05-28 23:05:18 +02:00
parent c389d7d8c0
commit d4227b5b0d
20 changed files with 7 additions and 57 deletions

View file

@ -17,7 +17,6 @@ path = "lib.rs"
[dependencies]
crossbeam-channel = "0.4"
euclid = "0.20"
gleam = "0.11"
glib = "0.9"
gstreamer = "0.15"
gstreamer-base = "0.15"

View file

@ -52,7 +52,6 @@ backtrace = "0.3"
clipboard = "0.5"
euclid = "0.20"
getopts = "0.2.11"
gleam = "0.11"
keyboard-types = "0.4.3"
lazy_static = "1"
libc = "0.2"
@ -63,7 +62,6 @@ shellwords = "1.0.0"
surfman = { version = "0.2", features = ["sm-winit", "sm-x11"] }
tinyfiledialogs = "3.0"
webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow", "headless"] }
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
winit = "0.19"
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]