Remove some unused dependencies (#34355)

* Remove unused deps

This doesn't seem to remove any deps from the workspace.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* ohos: Remove gaol dependency

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

---------

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender 2024-11-25 11:29:58 +01:00 committed by GitHub
parent 0d91da610a
commit 810a91ecac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 8 additions and 69 deletions

33
Cargo.lock generated
View file

@ -369,11 +369,7 @@ version = "0.0.1"
dependencies = [ dependencies = [
"base", "base",
"ipc-channel", "ipc-channel",
"malloc_size_of_derive",
"parking_lot",
"serde", "serde",
"servo_malloc_size_of",
"webrender_api",
] ]
[[package]] [[package]]
@ -708,14 +704,11 @@ dependencies = [
"lyon_geom", "lyon_geom",
"net_traits", "net_traits",
"num-traits", "num-traits",
"parking_lot",
"pathfinder_geometry",
"pixels", "pixels",
"range", "range",
"raqote", "raqote",
"servo_arc", "servo_arc",
"style", "style",
"style_traits",
"surfman", "surfman",
"unicode-script", "unicode-script",
"webrender", "webrender",
@ -991,14 +984,11 @@ name = "compositing"
version = "0.0.1" version = "0.0.1"
dependencies = [ dependencies = [
"base", "base",
"canvas",
"compositing_traits", "compositing_traits",
"crossbeam-channel", "crossbeam-channel",
"embedder_traits", "embedder_traits",
"euclid", "euclid",
"fnv", "fnv",
"fonts",
"fonts_traits",
"gleam", "gleam",
"image", "image",
"ipc-channel", "ipc-channel",
@ -1006,11 +996,9 @@ dependencies = [
"libc", "libc",
"log", "log",
"net", "net",
"net_traits",
"pixels", "pixels",
"profile_traits", "profile_traits",
"script_traits", "script_traits",
"servo-media",
"servo_config", "servo_config",
"servo_geometry", "servo_geometry",
"servo_url", "servo_url",
@ -1031,7 +1019,6 @@ dependencies = [
"crossbeam-channel", "crossbeam-channel",
"embedder_traits", "embedder_traits",
"euclid", "euclid",
"fonts_traits",
"ipc-channel", "ipc-channel",
"keyboard-types", "keyboard-types",
"log", "log",
@ -1068,7 +1055,6 @@ dependencies = [
"embedder_traits", "embedder_traits",
"euclid", "euclid",
"fonts", "fonts",
"fonts_traits",
"gaol", "gaol",
"http", "http",
"ipc-channel", "ipc-channel",
@ -2031,7 +2017,6 @@ dependencies = [
"core-graphics", "core-graphics",
"core-text", "core-text",
"crossbeam-channel", "crossbeam-channel",
"cssparser",
"dwrote", "dwrote",
"euclid", "euclid",
"fnv", "fnv",
@ -2058,16 +2043,13 @@ dependencies = [
"servo_url", "servo_url",
"smallvec", "smallvec",
"style", "style",
"surfman",
"tracing", "tracing",
"truetype", "truetype",
"unicode-bidi",
"unicode-properties", "unicode-properties",
"unicode-script", "unicode-script",
"url", "url",
"webrender_api", "webrender_api",
"webrender_traits", "webrender_traits",
"xi-unicode",
"xml-rs", "xml-rs",
"yeslogic-fontconfig-sys", "yeslogic-fontconfig-sys",
] ]
@ -2076,12 +2058,10 @@ dependencies = [
name = "fonts_traits" name = "fonts_traits"
version = "0.0.1" version = "0.0.1"
dependencies = [ dependencies = [
"ipc-channel",
"malloc_size_of_derive", "malloc_size_of_derive",
"range", "range",
"serde", "serde",
"servo_malloc_size_of", "servo_malloc_size_of",
"webrender_api",
] ]
[[package]] [[package]]
@ -3875,7 +3855,6 @@ dependencies = [
"euclid", "euclid",
"fnv", "fnv",
"fonts", "fonts",
"fonts_traits",
"html5ever", "html5ever",
"ipc-channel", "ipc-channel",
"log", "log",
@ -3935,7 +3914,6 @@ dependencies = [
"range", "range",
"rayon", "rayon",
"script_layout_interface", "script_layout_interface",
"script_traits",
"serde", "serde",
"serde_json", "serde_json",
"servo_arc", "servo_arc",
@ -4138,7 +4116,6 @@ dependencies = [
"env_logger 0.10.2", "env_logger 0.10.2",
"euclid", "euclid",
"fonts", "fonts",
"fonts_traits",
"gaol", "gaol",
"gleam", "gleam",
"gstreamer", "gstreamer",
@ -4341,7 +4318,6 @@ dependencies = [
"log", "log",
"serde", "serde",
"servo-media", "servo-media",
"servo_config",
"webrender_api", "webrender_api",
"webrender_traits", "webrender_traits",
] ]
@ -4404,7 +4380,6 @@ name = "metrics"
version = "0.0.1" version = "0.0.1"
dependencies = [ dependencies = [
"base", "base",
"fonts_traits",
"ipc-channel", "ipc-channel",
"log", "log",
"malloc_size_of_derive", "malloc_size_of_derive",
@ -4674,7 +4649,6 @@ dependencies = [
"mime", "mime",
"mime_guess", "mime_guess",
"net_traits", "net_traits",
"percent-encoding",
"pixels", "pixels",
"profile_traits", "profile_traits",
"rayon", "rayon",
@ -4715,7 +4689,6 @@ dependencies = [
"http", "http",
"hyper", "hyper",
"hyper_serde", "hyper_serde",
"image",
"ipc-channel", "ipc-channel",
"log", "log",
"malloc_size_of_derive", "malloc_size_of_derive",
@ -4731,7 +4704,6 @@ dependencies = [
"servo_url", "servo_url",
"url", "url",
"uuid", "uuid",
"webrender_api",
"webrender_traits", "webrender_traits",
] ]
@ -6142,7 +6114,6 @@ dependencies = [
"selectors", "selectors",
"serde", "serde",
"servo_arc", "servo_arc",
"servo_atoms",
"servo_malloc_size_of", "servo_malloc_size_of",
"servo_url", "servo_url",
"style", "style",
@ -6175,7 +6146,6 @@ dependencies = [
"devtools_traits", "devtools_traits",
"embedder_traits", "embedder_traits",
"euclid", "euclid",
"fonts_traits",
"http", "http",
"hyper_serde", "hyper_serde",
"ipc-channel", "ipc-channel",
@ -6191,7 +6161,6 @@ dependencies = [
"servo_atoms", "servo_atoms",
"servo_malloc_size_of", "servo_malloc_size_of",
"servo_url", "servo_url",
"smallvec",
"style_traits", "style_traits",
"uuid", "uuid",
"webdriver", "webdriver",
@ -6670,7 +6639,6 @@ dependencies = [
"ohos-vsync", "ohos-vsync",
"raw-window-handle", "raw-window-handle",
"serde_json", "serde_json",
"servo-media",
"servo_allocator", "servo_allocator",
"shellwords", "shellwords",
"sig", "sig",
@ -8320,7 +8288,6 @@ name = "webrender_traits"
version = "0.0.1" version = "0.0.1"
dependencies = [ dependencies = [
"base", "base",
"crossbeam-channel",
"embedder_traits", "embedder_traits",
"euclid", "euclid",
"ipc-channel", "ipc-channel",

View file

@ -33,14 +33,11 @@ log = { workspace = true }
lyon_geom = "1.0.4" lyon_geom = "1.0.4"
net_traits = { workspace = true } net_traits = { workspace = true }
num-traits = { workspace = true } num-traits = { workspace = true }
parking_lot = { workspace = true }
pathfinder_geometry = "0.5"
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
range = { path = "../range" } range = { path = "../range" }
raqote = "0.8.5" raqote = "0.8.5"
servo_arc = { workspace = true } servo_arc = { workspace = true }
style = { workspace = true } style = { workspace = true }
style_traits = { workspace = true }
surfman = { workspace = true } surfman = { workspace = true }
unicode-script = { workspace = true } unicode-script = { workspace = true }
webrender = { workspace = true } webrender = { workspace = true }

View file

@ -19,14 +19,11 @@ webxr = ["dep:webxr"]
[dependencies] [dependencies]
base = { workspace = true } base = { workspace = true }
canvas = { path = "../canvas" }
compositing_traits = { workspace = true } compositing_traits = { workspace = true }
crossbeam-channel = { workspace = true } crossbeam-channel = { workspace = true }
embedder_traits = { workspace = true } embedder_traits = { workspace = true }
euclid = { workspace = true } euclid = { workspace = true }
fnv = { workspace = true } fnv = { workspace = true }
fonts = { path = "../fonts" }
fonts_traits = { workspace = true }
gleam = { workspace = true } gleam = { workspace = true }
image = { workspace = true } image = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
@ -34,12 +31,10 @@ keyboard-types = { workspace = true }
libc = { workspace = true } libc = { workspace = true }
log = { workspace = true } log = { workspace = true }
net = { path = "../net" } net = { path = "../net" }
net_traits = { workspace = true }
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
profile_traits = { workspace = true } profile_traits = { workspace = true }
script_traits = { workspace = true } script_traits = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo-media = { workspace = true }
servo_geometry = { path = "../geometry" } servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
style_traits = { workspace = true } style_traits = { workspace = true }

View file

@ -29,7 +29,6 @@ devtools_traits = { workspace = true }
embedder_traits = { workspace = true } embedder_traits = { workspace = true }
euclid = { workspace = true } euclid = { workspace = true }
fonts = { path = "../fonts" } fonts = { path = "../fonts" }
fonts_traits = { workspace = true }
http = { workspace = true } http = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
keyboard-types = { workspace = true } keyboard-types = { workspace = true }
@ -53,5 +52,5 @@ webrender_api = { workspace = true }
webrender_traits = { workspace = true } webrender_traits = { workspace = true }
webxr-api = { workspace = true, features = ["ipc"] } webxr-api = { workspace = true, features = ["ipc"] }
[target.'cfg(any(target_os="macos", all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_arch="arm"), not(target_arch="aarch64"))))'.dependencies] [target.'cfg(any(target_os="macos", all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_env="ohos"), not(target_arch="arm"), not(target_arch="aarch64"))))'.dependencies]
gaol = "0.2.1" gaol = "0.2.1"

View file

@ -14,6 +14,7 @@ use std::process;
not(target_os = "windows"), not(target_os = "windows"),
not(target_os = "ios"), not(target_os = "ios"),
not(target_os = "android"), not(target_os = "android"),
not(target_env = "ohos"),
not(target_arch = "arm"), not(target_arch = "arm"),
not(target_arch = "aarch64") not(target_arch = "aarch64")
) )
@ -98,6 +99,7 @@ pub fn content_process_sandbox_profile() -> Profile {
not(target_os = "windows"), not(target_os = "windows"),
not(target_os = "ios"), not(target_os = "ios"),
not(target_os = "android"), not(target_os = "android"),
not(target_env = "ohos"),
not(target_arch = "arm"), not(target_arch = "arm"),
not(target_arch = "aarch64") not(target_arch = "aarch64")
))] ))]
@ -128,6 +130,7 @@ pub fn content_process_sandbox_profile() -> Profile {
target_os = "windows", target_os = "windows",
target_os = "ios", target_os = "ios",
target_os = "android", target_os = "android",
target_env = "ohos",
target_arch = "arm", target_arch = "arm",
// exclude apple arm devices // exclude apple arm devices
@ -140,6 +143,7 @@ pub fn content_process_sandbox_profile() {
#[cfg(any( #[cfg(any(
target_os = "android", target_os = "android",
target_env = "ohos",
target_arch = "arm", target_arch = "arm",
all(target_arch = "aarch64", not(target_os = "windows")) all(target_arch = "aarch64", not(target_os = "windows"))
))] ))]
@ -168,6 +172,7 @@ pub fn spawn_multiprocess(content: UnprivilegedContent) -> Result<(), Error> {
not(target_os = "windows"), not(target_os = "windows"),
not(target_os = "ios"), not(target_os = "ios"),
not(target_os = "android"), not(target_os = "android"),
not(target_env = "ohos"),
not(target_arch = "arm"), not(target_arch = "arm"),
not(target_arch = "aarch64") not(target_arch = "aarch64")
))] ))]

View file

@ -21,7 +21,6 @@ app_units = { workspace = true }
atomic_refcell = { workspace = true } atomic_refcell = { workspace = true }
base = { workspace = true } base = { workspace = true }
bitflags = { workspace = true } bitflags = { workspace = true }
cssparser = { workspace = true }
crossbeam-channel = { workspace = true } crossbeam-channel = { workspace = true }
euclid = { workspace = true } euclid = { workspace = true }
fnv = { workspace = true } fnv = { workspace = true }
@ -45,16 +44,13 @@ servo_atoms = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
smallvec = { workspace = true, features = ["union"] } smallvec = { workspace = true, features = ["union"] }
surfman = { workspace = true }
style = { workspace = true } style = { workspace = true }
tracing = { workspace = true, optional = true } tracing = { workspace = true, optional = true }
unicode-bidi = { workspace = true, features = ["with_serde"] }
unicode-properties = { workspace = true } unicode-properties = { workspace = true }
unicode-script = { workspace = true } unicode-script = { workspace = true }
url = { workspace = true } url = { workspace = true }
webrender_api = { workspace = true } webrender_api = { workspace = true }
webrender_traits = { workspace = true } webrender_traits = { workspace = true }
xi-unicode = { workspace = true }
[lints.rust] [lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ohos_mock)'] } unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ohos_mock)'] }

View file

@ -26,7 +26,6 @@ embedder_traits = { workspace = true }
euclid = { workspace = true } euclid = { workspace = true }
fnv = { workspace = true } fnv = { workspace = true }
fonts = { path = "../fonts" } fonts = { path = "../fonts" }
fonts_traits = { workspace = true }
html5ever = { workspace = true } html5ever = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
log = { workspace = true } log = { workspace = true }

View file

@ -40,7 +40,6 @@ pixels = { path = "../pixels" }
range = { path = "../range" } range = { path = "../range" }
rayon = { workspace = true } rayon = { workspace = true }
script_layout_interface = { workspace = true } script_layout_interface = { workspace = true }
script_traits = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
servo_arc = { workspace = true } servo_arc = { workspace = true }
@ -51,7 +50,7 @@ style = { workspace = true }
style_traits = { workspace = true } style_traits = { workspace = true }
taffy = { workspace = true } taffy = { workspace = true }
tracing = { workspace = true, optional = true } tracing = { workspace = true, optional = true }
unicode-bidi = { workspace = true } unicode-bidi = { workspace = true, features = ["with_serde"] }
unicode-script = { workspace = true } unicode-script = { workspace = true }
url = { workspace = true } url = { workspace = true }
webrender_api = { workspace = true } webrender_api = { workspace = true }

View file

@ -18,6 +18,5 @@ ipc-channel = { workspace = true }
log = { workspace = true } log = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
servo-media = { workspace = true } servo-media = { workspace = true }
servo_config = { path = "../config" }
webrender_api = { workspace = true } webrender_api = { workspace = true }
webrender_traits = { workspace = true } webrender_traits = { workspace = true }

View file

@ -13,7 +13,6 @@ path = "lib.rs"
[dependencies] [dependencies]
base = { workspace = true } base = { workspace = true }
fonts_traits = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
log = { workspace = true } log = { workspace = true }
malloc_size_of = { workspace = true } malloc_size_of = { workspace = true }

View file

@ -44,7 +44,6 @@ malloc_size_of_derive = { workspace = true }
mime = { workspace = true } mime = { workspace = true }
mime_guess = { workspace = true } mime_guess = { workspace = true }
net_traits = { workspace = true } net_traits = { workspace = true }
percent-encoding = { workspace = true }
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
profile_traits = { workspace = true } profile_traits = { workspace = true }
rayon = { workspace = true } rayon = { workspace = true }

View file

@ -58,7 +58,6 @@ embedder_traits = { workspace = true }
env_logger = { workspace = true } env_logger = { workspace = true }
euclid = { workspace = true } euclid = { workspace = true }
fonts = { path = "../fonts" } fonts = { path = "../fonts" }
fonts_traits = { workspace = true }
gleam = { workspace = true } gleam = { workspace = true }
gstreamer = { workspace = true, optional = true } gstreamer = { workspace = true, optional = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
@ -93,5 +92,5 @@ webrender_traits = { workspace = true }
webxr = { workspace = true, optional = true } webxr = { workspace = true, optional = true }
webxr-api = { workspace = true, optional = true } webxr-api = { workspace = true, optional = true }
[target.'cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android"), not(target_arch = "arm"), not(target_arch = "aarch64")))'.dependencies] [target.'cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android"), not(target_env = "ohos"), not(target_arch = "arm"), not(target_arch = "aarch64")))'.dependencies]
gaol = "0.2.1" gaol = "0.2.1"

View file

@ -16,8 +16,4 @@ doctest = false
[dependencies] [dependencies]
base = { workspace = true } base = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
malloc_size_of = { workspace = true }
malloc_size_of_derive = { workspace = true }
parking_lot = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
webrender_api = { workspace = true }

View file

@ -16,7 +16,6 @@ base = { workspace = true }
crossbeam-channel = { workspace = true } crossbeam-channel = { workspace = true }
embedder_traits = { workspace = true } embedder_traits = { workspace = true }
euclid = { workspace = true } euclid = { workspace = true }
fonts_traits = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
keyboard-types = { workspace = true } keyboard-types = { workspace = true }
log = { workspace = true } log = { workspace = true }

View file

@ -12,9 +12,7 @@ name = "fonts_traits"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
ipc-channel = { workspace = true }
malloc_size_of = { workspace = true } malloc_size_of = { workspace = true }
malloc_size_of_derive = { workspace = true } malloc_size_of_derive = { workspace = true }
range = { path = "../../range" } range = { path = "../../range" }
serde = { workspace = true } serde = { workspace = true }
webrender_api = { workspace = true }

View file

@ -23,7 +23,6 @@ headers = { workspace = true }
http = { workspace = true } http = { workspace = true }
hyper = { workspace = true } hyper = { workspace = true }
hyper_serde = { workspace = true } hyper_serde = { workspace = true }
image = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
log = { workspace = true } log = { workspace = true }
malloc_size_of = { workspace = true } malloc_size_of = { workspace = true }
@ -39,5 +38,4 @@ servo_rand = { path = "../../rand" }
servo_url = { path = "../../url" } servo_url = { path = "../../url" }
url = { workspace = true } url = { workspace = true }
uuid = { workspace = true } uuid = { workspace = true }
webrender_api = { workspace = true }
webrender_traits = { workspace = true } webrender_traits = { workspace = true }

View file

@ -22,7 +22,6 @@ crossbeam-channel = { workspace = true }
devtools_traits = { workspace = true } devtools_traits = { workspace = true }
embedder_traits = { workspace = true } embedder_traits = { workspace = true }
euclid = { workspace = true } euclid = { workspace = true }
fonts_traits = { workspace = true }
http = { workspace = true } http = { workspace = true }
hyper_serde = { workspace = true } hyper_serde = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
@ -38,7 +37,6 @@ profile_traits = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
servo_atoms = { workspace = true } servo_atoms = { workspace = true }
servo_url = { path = "../../url" } servo_url = { path = "../../url" }
smallvec = { workspace = true }
style_traits = { workspace = true } style_traits = { workspace = true }
uuid = { workspace = true } uuid = { workspace = true }
webdriver = { workspace = true } webdriver = { workspace = true }

View file

@ -34,7 +34,6 @@ script_traits = { workspace = true }
selectors = { workspace = true } selectors = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
servo_arc = { workspace = true } servo_arc = { workspace = true }
servo_atoms = { workspace = true }
servo_url = { path = "../../url" } servo_url = { path = "../../url" }
style = { workspace = true } style = { workspace = true }
style_traits = { workspace = true } style_traits = { workspace = true }

View file

@ -13,7 +13,6 @@ path = "lib.rs"
[dependencies] [dependencies]
base = { workspace = true } base = { workspace = true }
crossbeam-channel = { workspace = true }
embedder_traits = { workspace = true } embedder_traits = { workspace = true }
euclid = { workspace = true } euclid = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }

View file

@ -66,7 +66,6 @@ getopts = { workspace = true }
hitrace = { workspace = true, optional = true } hitrace = { workspace = true, optional = true }
mime_guess = { workspace = true } mime_guess = { workspace = true }
url = { workspace = true } url = { workspace = true }
servo-media = { workspace = true }
tokio = { workspace = true } tokio = { workspace = true }
tracing = { workspace = true, optional = true } tracing = { workspace = true, optional = true }
tracing-subscriber = { workspace = true, optional = true, features = ["env-filter"] } tracing-subscriber = { workspace = true, optional = true, features = ["env-filter"] }