Auto merge of #24335 - sinkuu:unuesd_deps, r=SimonSapin

Remove unused dependencies

<!-- Please describe your changes on the following line: -->
Removes unused crates from `Cargo.toml` to (possibly) shorten build time.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because no semantic changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24335)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-10-01 23:45:56 -04:00 committed by GitHub
commit d70d2708da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 1 additions and 179 deletions

View file

@ -14,12 +14,10 @@ doctest = false
[dependencies]
backtrace = "0.3"
bitflags = "1.0"
ipc-channel = "0.12"
libc = "0.2"
log = "0.4"
msg = {path = "../msg"}
serde = "1.0.60"
serde_json = "1.0"
crossbeam-channel = "0.3"

View file

@ -32,7 +32,6 @@ num-traits = "0.2"
offscreen_gl_context = {version = "0.25", features = ["serde", "osmesa"]}
raqote = {git = "https://github.com/jrmuizel/raqote", optional = true}
pixels = {path = "../pixels"}
serde_bytes = "0.10"
servo_config = {path = "../config"}
sparkle = "0.1"
webrender = {git = "https://github.com/servo/webrender"}

View file

@ -25,7 +25,5 @@ serde = "1.0"
serde_bytes = "0.10"
servo_config = {path = "../config"}
sparkle = "0.1"
typetag = "0.1"
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
webvr_traits = {path = "../webvr_traits"}
webxr-api = {git = "https://github.com/servo/webxr"}

View file

@ -28,7 +28,6 @@ url = "2.0"
servo_config_plugins = { path = "../config_plugins" }
[dev-dependencies]
env_logger = "0.6"
std_test_override = { path = "../std_test_override" }
[target.'cfg(not(any(target_os = "android", feature = "uwp")))'.dependencies]

View file

@ -20,7 +20,6 @@ background_hang_monitor = { path = "../background_hang_monitor"}
backtrace = "0.3"
bluetooth_traits = { path = "../bluetooth_traits" }
canvas = {path = "../canvas", default-features = false}
clipboard = "0.5"
canvas_traits = {path = "../canvas_traits"}
compositing = {path = "../compositing"}
crossbeam-channel = "0.3"

View file

@ -13,11 +13,9 @@ path = "lib.rs"
[dependencies]
crossbeam-channel = "0.3"
devtools_traits = {path = "../devtools_traits"}
headers-core = "0.1"
headers = "0.2"
http = "0.1"
hyper = "0.12"
hyper_serde = "0.11"
ipc-channel = "0.12"
log = "0.4"
msg = {path = "../msg"}

View file

@ -21,6 +21,5 @@ num-traits = "0.2"
num-derive = "0.2"
serde = "1.0"
servo_url = {path = "../url"}
style_traits = {path = "../style_traits", features = ["servo"]}
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
webxr-api = {git = "https://github.com/servo/webxr", features = ["ipc"]}

View file

@ -15,5 +15,4 @@ app_units = "0.7"
euclid = "0.20"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
style_traits = { path = "../style_traits" }
webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -33,14 +33,12 @@ malloc_size_of = { path = "../malloc_size_of" }
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
num-traits = "0.2"
ordered-float = "1.0"
parking_lot = "0.9"
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
rayon = "1"
script_layout_interface = {path = "../script_layout_interface"}
script_traits = {path = "../script_traits"}
selectors = { path = "../selectors" }
serde = "1.0"
servo_arc = {path = "../servo_arc"}
servo_atoms = {path = "../atoms"}

View file

@ -15,24 +15,17 @@ doctest = false
[dependencies]
app_units = "0.7"
atomic_refcell = "0.1"
cssparser = "0.25"
euclid = "0.20"
fnv = "1.0"
gfx = {path = "../gfx"}
gfx_traits = {path = "../gfx_traits"}
ipc-channel = "0.12"
libc = "0.2"
malloc_size_of = { path = "../malloc_size_of" }
matches = "0.1"
msg = {path = "../msg"}
range = {path = "../range"}
rayon = "1"
rayon_croissant = "0.1.1"
script_layout_interface = {path = "../script_layout_interface"}
script_traits = {path = "../script_traits"}
serde = "1.0"
servo_arc = { path = "../servo_arc" }
servo_url = {path = "../url"}
style = {path = "../style", features = ["servo", "servo-layout-2020"]}
style_traits = {path = "../style_traits"}
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}

View file

@ -20,7 +20,6 @@ fnv = "1.0"
fxhash = "0.2"
gfx = {path = "../gfx"}
gfx_traits = {path = "../gfx_traits"}
histogram = "0.6.8"
html5ever = "0.24"
ipc-channel = "0.12"
layout = {path = "../layout_2020", package = "layout_2020"}
@ -33,15 +32,12 @@ malloc_size_of = { path = "../malloc_size_of" }
metrics = {path = "../metrics"}
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
parking_lot = { version = "0.9", features = ["nightly"] }
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
rayon = "1"
script = {path = "../script"}
script_layout_interface = {path = "../script_layout_interface"}
script_traits = {path = "../script_traits"}
selectors = { path = "../selectors" }
serde_json = "1.0"
servo_allocator = {path = "../allocator"}
servo_arc = {path = "../servo_arc"}
servo_atoms = {path = "../atoms"}

View file

@ -19,6 +19,5 @@ log = "0.4"
serde = "1.0"
servo_config = {path = "../config"}
servo-media = {git = "https://github.com/servo/media"}
webrender = {git = "https://github.com/servo/webrender"}
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
webrender_traits = {path = "../webrender_traits"}

View file

@ -23,7 +23,6 @@ devtools_traits = {path = "../devtools_traits"}
embedder_traits = { path = "../embedder_traits" }
flate2 = "1"
futures = "0.1"
headers-core = "0.1"
headers = "0.2"
http = "0.1"
hyper = "0.12"
@ -53,8 +52,6 @@ servo_arc = {path = "../servo_arc"}
servo_config = {path = "../config"}
servo_url = {path = "../url"}
tokio = "0.1"
tokio-timer = "0.2"
threadpool = "1.0"
time = "0.1.17"
url = "2.0"
uuid = {version = "0.7", features = ["v4"]}

View file

@ -15,7 +15,6 @@ doctest = false
[dependencies]
cookie = "0.11"
embedder_traits = { path = "../embedder_traits" }
headers-core = "0.1"
headers = "0.2"
http = "0.1"
hyper = "0.12"
@ -33,7 +32,6 @@ percent-encoding = "2.0"
pixels = {path = "../pixels"}
serde = "1.0"
servo_arc = {path = "../servo_arc"}
servo_config = {path = "../config"}
servo_url = {path = "../url"}
time = "0.1"
url = "2.0"

View file

@ -22,7 +22,6 @@ js_backtrace = ["backtrace"]
uwp = ["js/uwp"]
[build-dependencies]
cmake = "0.1"
phf_codegen = "0.7"
phf_shared = "0.7"
serde_json = "1.0"
@ -36,7 +35,6 @@ backtrace = {version = "0.3", optional = true}
base64 = "0.10.1"
bitflags = "1.0"
bluetooth_traits = {path = "../bluetooth_traits"}
byteorder = "1.0"
canvas_traits = {path = "../canvas_traits"}
caseless = "0.2"
cookie = "0.11"
@ -90,7 +88,6 @@ script_plugins = {path = "../script_plugins"}
script_traits = {path = "../script_traits"}
selectors = { path = "../selectors" }
serde = {version = "1", features = ["derive"]}
serde_bytes = "0.10"
servo_allocator = {path = "../allocator"}
servo_arc = {path = "../servo_arc"}
servo_atoms = {path = "../atoms"}
@ -106,7 +103,6 @@ style_traits = {path = "../style_traits"}
swapper = "0.1"
tendril = {version = "0.4.1", features = ["encoding_rs"]}
time = "0.1.12"
typetag = "0.1"
unicode-segmentation = "1.1.0"
url = "2.0"
utf-8 = "0.7"

View file

@ -14,14 +14,12 @@ path = "lib.rs"
app_units = "0.7"
atomic_refcell = "0.1"
canvas_traits = {path = "../canvas_traits"}
cssparser = "0.25"
crossbeam-channel = "0.3"
euclid = "0.20"
gfx_traits = {path = "../gfx_traits"}
html5ever = "0.24"
ipc-channel = "0.12"
libc = "0.2"
time = "0.1.17"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
metrics = {path = "../metrics"}

View file

@ -10,12 +10,11 @@ name = "to_shmem"
path = "lib.rs"
[features]
servo = ["serde", "cssparser/serde", "string_cache"]
servo = ["cssparser/serde", "string_cache"]
gecko = []
[dependencies]
cssparser = "0.25"
serde = { version = "1.0", optional = true }
servo_arc = { path = "../servo_arc" }
smallbitvec = "2.1.1"
smallvec = "0.6.6"

View file

@ -14,7 +14,6 @@ path = "lib.rs"
malloc_size_of = { path = "../malloc_size_of", features = ["servo"] }
malloc_size_of_derive = "0.1"
to_shmem = { path = "../to_shmem" }
to_shmem_derive = { path = "../to_shmem_derive" }
serde = {version = "1.0", features = ["derive"]}
servo_rand = {path = "../rand"}
url = {version = "2.0", features = ["serde"]}

View file

@ -21,9 +21,7 @@ ipc-channel = "0.12"
keyboard-types = "0.4.3"
log = "0.4"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
pixels = {path = "../pixels"}
regex = "1.1"
serde = "1"
serde_json = "1"
script_traits = {path = "../script_traits"}

View file

@ -18,7 +18,6 @@ oculusvr = ['rust-webvr/oculusvr']
canvas_traits = {path = "../canvas_traits"}
crossbeam-channel = "0.3"
euclid = "0.20"
gleam = "0.6"
ipc-channel = "0.12"
log = "0.4"
msg = {path = "../msg"}