Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some unused dependency declarations #26698

Merged
merged 1 commit into from May 29, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Some generated files are not rendered by default. Learn more.

@@ -21,7 +21,6 @@ byteorder = "1"
canvas_traits = { path = "../canvas_traits" }
crossbeam-channel = "0.4"
cssparser = "0.27"
embedder_traits = { path = "../embedder_traits" }
euclid = "0.20"
fnv = "1.0"
gleam = "0.11"
@@ -37,7 +37,6 @@ profile_traits = { path = "../profile_traits" }
script_traits = { path = "../script_traits" }
serde = "1.0"
servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" }
servo_rand = {path = "../rand" }
servo_remutex = { path = "../remutex" }
servo_url = { path = "../url" }
@@ -17,11 +17,9 @@ app_units = "0.7"
atomic_refcell = "0.1"
bitflags = "1.0"
canvas_traits = { path = "../canvas_traits" }
crossbeam-channel = "0.4"
embedder_traits = { path = "../embedder_traits" }
euclid = "0.20"
fnv = "1.0"
fxhash = "0.2"
gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" }
html5ever = "0.25"
@@ -39,7 +39,6 @@ script_traits = { path = "../script_traits" }
serde = "1.0"
serde_json = "1.0"
servo_arc = { path = "../servo_arc" }
servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" }
style = { path = "../style", features = ["servo", "servo-layout-2020"] }
style_traits = { path = "../style_traits" }
@@ -45,7 +45,6 @@ servo_allocator = { path = "../allocator" }
servo_arc = { path = "../servo_arc" }
servo_atoms = { path = "../atoms" }
servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" }
style = { path = "../style" }
style_traits = { path = "../style_traits" }
@@ -42,9 +42,7 @@ servo_allocator = { path = "../allocator" }
servo_arc = { path = "../servo_arc" }
servo_atoms = { path = "../atoms" }
servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" }
style = { path = "../style" }
style_traits = { path = "../style_traits" }
time = "0.1.17"
webrender_api = { git = "https://github.com/servo/webrender" }
@@ -12,14 +12,12 @@ path = "lib.rs"

[dependencies]
crossbeam-channel = "0.4"
euclid = "0.20"
gfx = { path = "../gfx" }
ipc-channel = "0.14"
metrics = { path = "../metrics" }
msg = { path = "../msg" }
net_traits = { path = "../net_traits" }
profile_traits = { path = "../profile_traits" }
script_traits = { path = "../script_traits" }
servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" }
webrender_api = { git = "https://github.com/servo/webrender" }
@@ -19,7 +19,6 @@ malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
parking_lot = "0.10"
serde = "1.0.60"
servo_url = { path = "../url" }
webrender_api = { git = "https://github.com/servo/webrender" }

[dev-dependencies]
@@ -44,3 +44,6 @@ pub mod test {
pub use crate::hosts::{parse_hostsfile, replace_host_table};
pub use crate::http_loader::HttpState;
}

// This dependency gives `build.rs` access to the `DEP_OPENSSL_VERSION_NUMBER` env variable.
use openssl_sys as _;
@@ -19,7 +19,6 @@ serde = "1.0"
serde_json = "1.0"
servo_config = {path = "../config"}
time_crate = {package = "time", version = "0.1.12"}
tokio = "0.1"

[target.'cfg(target_os = "macos")'.dependencies]
task_info = {path = "../../support/rust-task_info"}
@@ -14,7 +14,6 @@ path = "lib.rs"
energy-profiling = ["energymon", "energy-monitor"]

[dependencies]
bincode = "1"
crossbeam-channel = "0.4"
energy-monitor = {version = "0.2.0", optional = true}
energymon = {git = "https://github.com/energymon/energymon-rust.git", optional = true}
@@ -34,11 +34,9 @@ accountable-refcell = { version = "0.2.0", optional = true }
app_units = "0.7"
backtrace = { version = "0.3", optional = true }
base64 = "0.10.1"
bincode = "1"
bitflags = "1.0"
bluetooth_traits = { path = "../bluetooth_traits" }
canvas_traits = { path = "../canvas_traits" }
caseless = "0.2"
chrono = "0.4"
content-security-policy = { version = "0.4.0", features = ["serde"] }
cookie = "0.11"
@@ -40,7 +40,6 @@ servo_url = {path = "../url"}
smallvec = "0.6"
style_traits = {path = "../style_traits", features = ["servo"]}
time = "0.1.12"
url = "2.0"
uuid = {version = "0.8", features = ["v4"]}
webdriver = "0.40"
webgpu = {path = "../webgpu"}
@@ -16,7 +16,8 @@ path = "lib.rs"
doctest = false

[features]
gecko = ["style_traits/gecko", "fallible/known_system_malloc", "bindgen", "regex", "toml"]
gecko = ["style_traits/gecko", "fallible/known_system_malloc", "bindgen", "regex", "toml",
"num_cpus", "thin-slice"]
servo = ["serde", "style_traits/servo", "servo_atoms", "servo_config", "html5ever",
"cssparser/serde", "encoding_rs", "malloc_size_of/servo", "servo_url",
"string_cache", "to_shmem/servo",
@@ -49,7 +50,7 @@ lazy_static = "1"
log = { version = "0.4", features = ["std"] }
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
num_cpus = {version = "1.1.0"}
num_cpus = {version = "1.1.0", optional = true}
num-integer = "0.1"
num-traits = "0.2"
num-derive = "0.3"
@@ -68,7 +69,7 @@ string_cache = { version = "0.8", optional = true }
style_derive = {path = "../style_derive"}
style_traits = {path = "../style_traits"}
servo_url = {path = "../url", optional = true}
thin-slice = "0.1.0"
thin-slice = {version = "0.1.0", optional = true}
to_shmem = {path = "../to_shmem"}
to_shmem_derive = {path = "../to_shmem_derive"}
time = "0.1"
@@ -29,6 +29,5 @@ script_traits = {path = "../script_traits"}
servo_config = {path = "../config"}
servo_url = {path = "../url"}
style_traits = {path = "../style_traits"}
url = "2.0"
uuid = {version = "0.8", features = ["v4"]}
webdriver = "0.40"
@@ -11,7 +11,6 @@ name = "webgpu"
path = "lib.rs"

[dependencies]
embedder_traits = {path = "../embedder_traits"}
ipc-channel = "0.14"
log = "0.4"
malloc_size_of = { path = "../malloc_size_of" }
@@ -12,6 +12,5 @@ path = "lib.rs"

[dependencies]
euclid = "0.20"
servo_geometry = {path = "../geometry"}
webrender_api = {git = "https://github.com/servo/webrender"}

@@ -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"
@@ -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]
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.