mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
parent
0d91da610a
commit
810a91ecac
20 changed files with 8 additions and 69 deletions
|
@ -33,14 +33,11 @@ log = { workspace = true }
|
|||
lyon_geom = "1.0.4"
|
||||
net_traits = { workspace = true }
|
||||
num-traits = { workspace = true }
|
||||
parking_lot = { workspace = true }
|
||||
pathfinder_geometry = "0.5"
|
||||
pixels = { path = "../pixels" }
|
||||
range = { path = "../range" }
|
||||
raqote = "0.8.5"
|
||||
servo_arc = { workspace = true }
|
||||
style = { workspace = true }
|
||||
style_traits = { workspace = true }
|
||||
surfman = { workspace = true }
|
||||
unicode-script = { workspace = true }
|
||||
webrender = { workspace = true }
|
||||
|
|
|
@ -19,14 +19,11 @@ webxr = ["dep:webxr"]
|
|||
|
||||
[dependencies]
|
||||
base = { workspace = true }
|
||||
canvas = { path = "../canvas" }
|
||||
compositing_traits = { workspace = true }
|
||||
crossbeam-channel = { workspace = true }
|
||||
embedder_traits = { workspace = true }
|
||||
euclid = { workspace = true }
|
||||
fnv = { workspace = true }
|
||||
fonts = { path = "../fonts" }
|
||||
fonts_traits = { workspace = true }
|
||||
gleam = { workspace = true }
|
||||
image = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
|
@ -34,12 +31,10 @@ keyboard-types = { workspace = true }
|
|||
libc = { workspace = true }
|
||||
log = { workspace = true }
|
||||
net = { path = "../net" }
|
||||
net_traits = { workspace = true }
|
||||
pixels = { path = "../pixels" }
|
||||
profile_traits = { workspace = true }
|
||||
script_traits = { workspace = true }
|
||||
servo_config = { path = "../config" }
|
||||
servo-media = { workspace = true }
|
||||
servo_geometry = { path = "../geometry" }
|
||||
servo_url = { path = "../url" }
|
||||
style_traits = { workspace = true }
|
||||
|
|
|
@ -29,7 +29,6 @@ devtools_traits = { workspace = true }
|
|||
embedder_traits = { workspace = true }
|
||||
euclid = { workspace = true }
|
||||
fonts = { path = "../fonts" }
|
||||
fonts_traits = { workspace = true }
|
||||
http = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
keyboard-types = { workspace = true }
|
||||
|
@ -53,5 +52,5 @@ webrender_api = { workspace = true }
|
|||
webrender_traits = { workspace = true }
|
||||
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"
|
||||
|
|
|
@ -14,6 +14,7 @@ use std::process;
|
|||
not(target_os = "windows"),
|
||||
not(target_os = "ios"),
|
||||
not(target_os = "android"),
|
||||
not(target_env = "ohos"),
|
||||
not(target_arch = "arm"),
|
||||
not(target_arch = "aarch64")
|
||||
)
|
||||
|
@ -98,6 +99,7 @@ pub fn content_process_sandbox_profile() -> Profile {
|
|||
not(target_os = "windows"),
|
||||
not(target_os = "ios"),
|
||||
not(target_os = "android"),
|
||||
not(target_env = "ohos"),
|
||||
not(target_arch = "arm"),
|
||||
not(target_arch = "aarch64")
|
||||
))]
|
||||
|
@ -128,6 +130,7 @@ pub fn content_process_sandbox_profile() -> Profile {
|
|||
target_os = "windows",
|
||||
target_os = "ios",
|
||||
target_os = "android",
|
||||
target_env = "ohos",
|
||||
target_arch = "arm",
|
||||
|
||||
// exclude apple arm devices
|
||||
|
@ -140,6 +143,7 @@ pub fn content_process_sandbox_profile() {
|
|||
|
||||
#[cfg(any(
|
||||
target_os = "android",
|
||||
target_env = "ohos",
|
||||
target_arch = "arm",
|
||||
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 = "ios"),
|
||||
not(target_os = "android"),
|
||||
not(target_env = "ohos"),
|
||||
not(target_arch = "arm"),
|
||||
not(target_arch = "aarch64")
|
||||
))]
|
||||
|
|
|
@ -21,7 +21,6 @@ app_units = { workspace = true }
|
|||
atomic_refcell = { workspace = true }
|
||||
base = { workspace = true }
|
||||
bitflags = { workspace = true }
|
||||
cssparser = { workspace = true }
|
||||
crossbeam-channel = { workspace = true }
|
||||
euclid = { workspace = true }
|
||||
fnv = { workspace = true }
|
||||
|
@ -45,16 +44,13 @@ servo_atoms = { workspace = true }
|
|||
servo_config = { path = "../config" }
|
||||
servo_url = { path = "../url" }
|
||||
smallvec = { workspace = true, features = ["union"] }
|
||||
surfman = { workspace = true }
|
||||
style = { workspace = true }
|
||||
tracing = { workspace = true, optional = true }
|
||||
unicode-bidi = { workspace = true, features = ["with_serde"] }
|
||||
unicode-properties = { workspace = true }
|
||||
unicode-script = { workspace = true }
|
||||
url = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
webrender_traits = { workspace = true }
|
||||
xi-unicode = { workspace = true }
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ohos_mock)'] }
|
||||
|
|
|
@ -26,7 +26,6 @@ embedder_traits = { workspace = true }
|
|||
euclid = { workspace = true }
|
||||
fnv = { workspace = true }
|
||||
fonts = { path = "../fonts" }
|
||||
fonts_traits = { workspace = true }
|
||||
html5ever = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
log = { workspace = true }
|
||||
|
|
|
@ -40,7 +40,6 @@ pixels = { path = "../pixels" }
|
|||
range = { path = "../range" }
|
||||
rayon = { workspace = true }
|
||||
script_layout_interface = { workspace = true }
|
||||
script_traits = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
servo_arc = { workspace = true }
|
||||
|
@ -51,7 +50,7 @@ style = { workspace = true }
|
|||
style_traits = { workspace = true }
|
||||
taffy = { workspace = true }
|
||||
tracing = { workspace = true, optional = true }
|
||||
unicode-bidi = { workspace = true }
|
||||
unicode-bidi = { workspace = true, features = ["with_serde"] }
|
||||
unicode-script = { workspace = true }
|
||||
url = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
|
|
|
@ -18,6 +18,5 @@ ipc-channel = { workspace = true }
|
|||
log = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
servo-media = { workspace = true }
|
||||
servo_config = { path = "../config" }
|
||||
webrender_api = { workspace = true }
|
||||
webrender_traits = { workspace = true }
|
||||
|
|
|
@ -13,7 +13,6 @@ path = "lib.rs"
|
|||
|
||||
[dependencies]
|
||||
base = { workspace = true }
|
||||
fonts_traits = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
log = { workspace = true }
|
||||
malloc_size_of = { workspace = true }
|
||||
|
|
|
@ -44,7 +44,6 @@ malloc_size_of_derive = { workspace = true }
|
|||
mime = { workspace = true }
|
||||
mime_guess = { workspace = true }
|
||||
net_traits = { workspace = true }
|
||||
percent-encoding = { workspace = true }
|
||||
pixels = { path = "../pixels" }
|
||||
profile_traits = { workspace = true }
|
||||
rayon = { workspace = true }
|
||||
|
|
|
@ -58,7 +58,6 @@ embedder_traits = { workspace = true }
|
|||
env_logger = { workspace = true }
|
||||
euclid = { workspace = true }
|
||||
fonts = { path = "../fonts" }
|
||||
fonts_traits = { workspace = true }
|
||||
gleam = { workspace = true }
|
||||
gstreamer = { workspace = true, optional = true }
|
||||
ipc-channel = { workspace = true }
|
||||
|
@ -93,5 +92,5 @@ webrender_traits = { workspace = true }
|
|||
webxr = { 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"
|
||||
|
|
|
@ -16,8 +16,4 @@ doctest = false
|
|||
[dependencies]
|
||||
base = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
malloc_size_of = { workspace = true }
|
||||
malloc_size_of_derive = { workspace = true }
|
||||
parking_lot = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
|
|
|
@ -16,7 +16,6 @@ base = { workspace = true }
|
|||
crossbeam-channel = { workspace = true }
|
||||
embedder_traits = { workspace = true }
|
||||
euclid = { workspace = true }
|
||||
fonts_traits = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
keyboard-types = { workspace = true }
|
||||
log = { workspace = true }
|
||||
|
|
|
@ -12,9 +12,7 @@ name = "fonts_traits"
|
|||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
ipc-channel = { workspace = true }
|
||||
malloc_size_of = { workspace = true }
|
||||
malloc_size_of_derive = { workspace = true }
|
||||
range = { path = "../../range" }
|
||||
serde = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
|
|
|
@ -23,7 +23,6 @@ headers = { workspace = true }
|
|||
http = { workspace = true }
|
||||
hyper = { workspace = true }
|
||||
hyper_serde = { workspace = true }
|
||||
image = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
log = { workspace = true }
|
||||
malloc_size_of = { workspace = true }
|
||||
|
@ -39,5 +38,4 @@ servo_rand = { path = "../../rand" }
|
|||
servo_url = { path = "../../url" }
|
||||
url = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
webrender_traits = { workspace = true }
|
||||
|
|
|
@ -22,7 +22,6 @@ crossbeam-channel = { workspace = true }
|
|||
devtools_traits = { workspace = true }
|
||||
embedder_traits = { workspace = true }
|
||||
euclid = { workspace = true }
|
||||
fonts_traits = { workspace = true }
|
||||
http = { workspace = true }
|
||||
hyper_serde = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
|
@ -38,7 +37,6 @@ profile_traits = { workspace = true }
|
|||
serde = { workspace = true }
|
||||
servo_atoms = { workspace = true }
|
||||
servo_url = { path = "../../url" }
|
||||
smallvec = { workspace = true }
|
||||
style_traits = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
webdriver = { workspace = true }
|
||||
|
|
|
@ -34,7 +34,6 @@ script_traits = { workspace = true }
|
|||
selectors = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
servo_arc = { workspace = true }
|
||||
servo_atoms = { workspace = true }
|
||||
servo_url = { path = "../../url" }
|
||||
style = { workspace = true }
|
||||
style_traits = { workspace = true }
|
||||
|
|
|
@ -13,7 +13,6 @@ path = "lib.rs"
|
|||
|
||||
[dependencies]
|
||||
base = { workspace = true }
|
||||
crossbeam-channel = { workspace = true }
|
||||
embedder_traits = { workspace = true }
|
||||
euclid = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue