diff options
author | Narfinger <Narfinger@users.noreply.github.com> | 2025-05-23 14:58:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-23 12:58:00 +0000 |
commit | 8788248fecaeebe91aa66a490cd04431862170ff (patch) | |
tree | 9d16039f9bd9976bf242060ae33cf8ada024428a /components | |
parent | 048471275d4e1305f07b789b798f33cefe223e4c (diff) | |
download | servo-8788248fecaeebe91aa66a490cd04431862170ff.tar.gz servo-8788248fecaeebe91aa66a490cd04431862170ff.zip |
Removing unused dependencies in crates. (#37096)
Removed unused dependencies in various crates using cargo-machete, grep
and cargo-udeps.
Testing: The CI tests if any dependencies were used that are removed.
Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
Diffstat (limited to 'components')
-rw-r--r-- | components/canvas/Cargo.toml | 1 | ||||
-rw-r--r-- | components/compositing/Cargo.toml | 2 | ||||
-rw-r--r-- | components/layout/Cargo.toml | 1 | ||||
-rw-r--r-- | components/metrics/Cargo.toml | 1 | ||||
-rw-r--r-- | components/net/Cargo.toml | 1 | ||||
-rw-r--r-- | components/profile/Cargo.toml | 1 | ||||
-rw-r--r-- | components/script/Cargo.toml | 1 | ||||
-rw-r--r-- | components/servo/Cargo.toml | 1 | ||||
-rw-r--r-- | components/shared/constellation/Cargo.toml | 1 | ||||
-rw-r--r-- | components/shared/embedder/Cargo.toml | 1 | ||||
-rw-r--r-- | components/shared/profile/Cargo.toml | 1 | ||||
-rw-r--r-- | components/shared/script/Cargo.toml | 1 | ||||
-rw-r--r-- | components/shared/script_layout/Cargo.toml | 3 | ||||
-rw-r--r-- | components/webdriver_server/Cargo.toml | 2 | ||||
-rw-r--r-- | components/webgpu/Cargo.toml | 1 | ||||
-rw-r--r-- | components/webxr/Cargo.toml | 1 |
16 files changed, 0 insertions, 20 deletions
diff --git a/components/canvas/Cargo.toml b/components/canvas/Cargo.toml index 6084fc6e434..7aadc8a9bb5 100644 --- a/components/canvas/Cargo.toml +++ b/components/canvas/Cargo.toml @@ -24,7 +24,6 @@ ipc-channel = { workspace = true } log = { workspace = true } lyon_geom = "1.0.4" net_traits = { workspace = true } -num-traits = { workspace = true } pixels = { path = "../pixels" } range = { path = "../range" } raqote = "0.8.5" diff --git a/components/compositing/Cargo.toml b/components/compositing/Cargo.toml index 8e788e58734..9b4ff54d29e 100644 --- a/components/compositing/Cargo.toml +++ b/components/compositing/Cargo.toml @@ -34,11 +34,9 @@ log = { workspace = true } net = { path = "../net" } pixels = { path = "../pixels" } profile_traits = { workspace = true } -script_traits = { workspace = true } servo_allocator = { path = "../allocator" } servo_config = { path = "../config" } servo_geometry = { path = "../geometry" } -smallvec = { workspace = true } stylo_traits = { workspace = true } tracing = { workspace = true, optional = true } webrender = { workspace = true } diff --git a/components/layout/Cargo.toml b/components/layout/Cargo.toml index 0505581fba7..0e4cd0b79fd 100644 --- a/components/layout/Cargo.toml +++ b/components/layout/Cargo.toml @@ -21,7 +21,6 @@ app_units = { workspace = true } atomic_refcell = { workspace = true } base = { workspace = true } bitflags = { workspace = true } -canvas_traits = { workspace = true } compositing_traits = { workspace = true } constellation_traits = { workspace = true } data-url = { workspace = true } diff --git a/components/metrics/Cargo.toml b/components/metrics/Cargo.toml index 3888b41bb29..a62ff8c98dc 100644 --- a/components/metrics/Cargo.toml +++ b/components/metrics/Cargo.toml @@ -13,7 +13,6 @@ path = "lib.rs" [dependencies] base = { workspace = true } -constellation_traits = { workspace = true } ipc-channel = { workspace = true } log = { workspace = true } malloc_size_of = { workspace = true } diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml index 1945165b8c1..33d5826978b 100644 --- a/components/net/Cargo.toml +++ b/components/net/Cargo.toml @@ -58,7 +58,6 @@ rustls-pemfile = { workspace = true } rustls-pki-types = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -servo_allocator = { path = "../allocator" } servo_arc = { workspace = true } servo_config = { path = "../config" } servo_url = { path = "../url" } diff --git a/components/profile/Cargo.toml b/components/profile/Cargo.toml index 8a8d0775711..73c7924d863 100644 --- a/components/profile/Cargo.toml +++ b/components/profile/Cargo.toml @@ -15,7 +15,6 @@ path = "lib.rs" base = { workspace = true } ipc-channel = { workspace = true } log = { workspace = true } -parking_lot = { workspace = true } profile_traits = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 6d588a3984e..09dab3471df 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -94,7 +94,6 @@ net_traits = { workspace = true } nom = "7.1.3" num-traits = { workspace = true } num_cpus = { workspace = true } -parking_lot = { workspace = true } percent-encoding = { workspace = true } phf = "0.11" pixels = { path = "../pixels" } diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml index 687cdd6a5a2..5988dbdc4b9 100644 --- a/components/servo/Cargo.toml +++ b/components/servo/Cargo.toml @@ -72,7 +72,6 @@ bluetooth_traits = { workspace = true, optional = true } canvas = { path = "../canvas" } webgl = { path = "../webgl", default-features = false } canvas_traits = { workspace = true } -cfg-if = { workspace = true } compositing = { path = "../compositing" } compositing_traits = { workspace = true } constellation = { path = "../constellation" } diff --git a/components/shared/constellation/Cargo.toml b/components/shared/constellation/Cargo.toml index 53a4307df60..3b093b3f684 100644 --- a/components/shared/constellation/Cargo.toml +++ b/components/shared/constellation/Cargo.toml @@ -17,7 +17,6 @@ webgpu = ["wgpu-core"] [dependencies] base = { workspace = true } -bitflags = { workspace = true } canvas_traits = { workspace = true } devtools_traits = { workspace = true } embedder_traits = { workspace = true } diff --git a/components/shared/embedder/Cargo.toml b/components/shared/embedder/Cargo.toml index d938169d37a..4904adf6447 100644 --- a/components/shared/embedder/Cargo.toml +++ b/components/shared/embedder/Cargo.toml @@ -18,7 +18,6 @@ baked-default-resources = [] [dependencies] base = { workspace = true } -cfg-if = { workspace = true } cookie = { workspace = true } crossbeam-channel = { workspace = true } euclid = { workspace = true } diff --git a/components/shared/profile/Cargo.toml b/components/shared/profile/Cargo.toml index 8086bf17ba2..68a7df28c00 100644 --- a/components/shared/profile/Cargo.toml +++ b/components/shared/profile/Cargo.toml @@ -25,6 +25,5 @@ serde = { workspace = true } servo_allocator = { path = "../../allocator" } servo_config = { path = "../../config" } signpost = { git = "https://github.com/pcwalton/signpost.git" } -strum_macros = { workspace = true } time = { workspace = true } tracing = { workspace = true, optional = true } diff --git a/components/shared/script/Cargo.toml b/components/shared/script/Cargo.toml index 0d3690188fe..69438867cc0 100644 --- a/components/shared/script/Cargo.toml +++ b/components/shared/script/Cargo.toml @@ -26,7 +26,6 @@ crossbeam-channel = { workspace = true } devtools_traits = { workspace = true } embedder_traits = { workspace = true } euclid = { workspace = true } -http = { workspace = true } ipc-channel = { workspace = true } keyboard-types = { workspace = true } malloc_size_of = { workspace = true } diff --git a/components/shared/script_layout/Cargo.toml b/components/shared/script_layout/Cargo.toml index 06690192f73..167606f7247 100644 --- a/components/shared/script_layout/Cargo.toml +++ b/components/shared/script_layout/Cargo.toml @@ -15,7 +15,6 @@ path = "lib.rs" base = { workspace = true } app_units = { workspace = true } atomic_refcell = { workspace = true } -canvas_traits = { workspace = true } compositing_traits = { workspace = true } constellation_traits = { workspace = true } embedder_traits = { workspace = true } @@ -29,7 +28,6 @@ ipc-channel = { workspace = true } libc = { workspace = true } malloc_size_of = { workspace = true } malloc_size_of_derive = { workspace = true } -metrics = { path = "../../metrics" } net_traits = { workspace = true } pixels = { path = "../../pixels" } profile_traits = { workspace = true } @@ -40,5 +38,4 @@ serde = { workspace = true } servo_arc = { workspace = true } servo_url = { path = "../../url" } stylo = { workspace = true } -stylo_traits = { workspace = true } webrender_api = { workspace = true } diff --git a/components/webdriver_server/Cargo.toml b/components/webdriver_server/Cargo.toml index 70de7f0fc50..47c77e0e9a0 100644 --- a/components/webdriver_server/Cargo.toml +++ b/components/webdriver_server/Cargo.toml @@ -24,9 +24,7 @@ image = { workspace = true } ipc-channel = { workspace = true } keyboard-types = { workspace = true } log = { workspace = true } -net_traits = { workspace = true } pixels = { path = "../pixels" } -script_traits = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } servo_config = { path = "../config" } diff --git a/components/webgpu/Cargo.toml b/components/webgpu/Cargo.toml index 39ca562affe..39b2e952679 100644 --- a/components/webgpu/Cargo.toml +++ b/components/webgpu/Cargo.toml @@ -18,7 +18,6 @@ compositing_traits = { workspace = true } euclid = { workspace = true } ipc-channel = { workspace = true } log = { workspace = true } -malloc_size_of = { workspace = true } serde = { workspace = true, features = ["serde_derive"] } servo_config = { path = "../config" } webgpu_traits = { workspace = true } diff --git a/components/webxr/Cargo.toml b/components/webxr/Cargo.toml index 49315ac41db..809e8483bd4 100644 --- a/components/webxr/Cargo.toml +++ b/components/webxr/Cargo.toml @@ -26,7 +26,6 @@ openxr-api = ["angle", "openxr", "winapi", "wio", "surfman/sm-angle-default"] [dependencies] crossbeam-channel = { workspace = true } -embedder_traits = { workspace = true } euclid = { workspace = true } glow = { workspace = true } log = { workspace = true } |