8000 cargo: Remove unused dependency (#38239) · servo/servo@0e4b2bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e4b2bf

Browse files
authored
cargo: Remove unused dependency (#38239)
Remove unused `Cargo.toml` dependency to reduce binary size. Testing: Can still compile in different platforms. Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
1 parent 52f53f6 commit 0e4b2bf

File tree

9 files changed

+0
-22
lines changed

9 files changed

+0
-22
lines changed

Cargo.lock

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/canvas/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ fonts = { path = "../fonts" }
2323
ipc-channel = { workspace = true }
2424
kurbo = { workspace = true }
2525
log = { workspace = true }
26-
lyon_geom = "1.0.4"
2726
net_traits = { workspace = true }
2827
pixels = { path = "../pixels" }
2928
range = { path = "../range" }

components/layout/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ atomic_refcell = { workspace = true }
2222
base = { workspace = true }
2323
bitflags = { workspace = true }
2424
compositing_traits = { workspace = true }
25-
constellation_traits = { workspace = true }
2625
data-url = { workspace = true }
2726
embedder_traits = { workspace = true }
2827
euclid = { workspace = true }

components/script/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ itertools = { workspace = true }
8181
js = { workspace = true }
8282
jstraceable_derive = { path = "../jstraceable_derive" }
8383
keyboard-types = { workspace = true }
84-
kurbo = { workspace = true }
8584
layout_api = { workspace = true }
8685
libc = { workspace = true }
8786
log = { workspace = true }
@@ -109,7 +108,6 @@ selectors = { workspace = true }
109108
serde = { workspace = true, features = ["derive"] }
110109
serde_json = { workspace = true }
111110
servo-media = { workspace = true }
112-
servo_allocator = { path = "../allocator" }
113111
servo_arc = { workspace = true }
114112
servo_config = { path = "../config" }
115113
servo_geometry = { path = "../geometry" }

components/shared/canvas/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ malloc_size_of = { workspace = true }
2525
malloc_size_of_derive = { workspace = true }
2626
pixels = { path = "../../pixels" }
2727
serde = { workspace = true }
28-
serde_bytes = { workspace = true }
2928
servo_config = { path = "../../config" }
3029
strum = { workspace = true }
3130
stylo = { workspace = true }

components/shared/compositing/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ ipc-channel = { workspace = true }
2929
log = { workspace = true }
3030
malloc_size_of = { workspace = true }
3131
malloc_size_of_derive = { workspace = true }
32-
pixels = { path = '../../pixels' }
3332
profile_traits = { path = '../profile' }
3433
raw-window-handle = { version = "0.6" }
3534
serde = { workspace = true }
36-
servo_geometry = { path = "../../geometry" }
3735
smallvec = { workspace = true }
3836
strum_macros = { workspace = true }
3937
stylo = { workspace = true }

components/timers/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ name = "timers"
1212
path = "lib.rs"
1313

1414
[dependencies]
15-
base = { workspace = true }
1615
crossbeam-channel = { workspace = true }
1716
malloc_size_of = { workspace = true }
1817
malloc_size_of_derive = { workspace = true }
19-
serde = { workspace = true }

components/webdriver_server/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ path = "lib.rs"
1414
[dependencies]
1515
base = { workspace = true }
1616
base64 = { workspace = true }
17-
constellation_traits = { workspace = true }
1817
cookie = { workspace = true }
1918
crossbeam-channel = { workspace = true }
2019
embedder_traits = { workspace = true }

components/webgpu/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pixels = { path = "../pixels" }
2222
serde = { workspace = true, features = ["serde_derive"] }
2323
servo_config = { path = "../config" }
2424
webgpu_traits = { workspace = true }
25-
webrender = { workspace = true }
2625
webrender_api = { workspace = true }
2726
wgpu-core = { workspace = true, features = ["serde", "wgsl"] }
2827
wgpu-types = { workspace = true }

0 commit comments

Comments
 (0)
0