Start the transition to workspace dependencies

This will ultimately make it simpler to update crate dependencies and
reduce duplicate when specifying requirements. Generally, this change
does not touch dependencies that are only used by a single crate. We
could consider moving them to workspace dependencies in the future.
This commit is contained in:
Martin Robinson 2023-05-16 19:54:19 +02:00
parent c5d31c3ab6
commit 2f4c47bfe7
64 changed files with 540 additions and 467 deletions

View file

@ -10,6 +10,79 @@ members = [
] ]
exclude = [".cargo"] exclude = [".cargo"]
[workspace.dependencies]
accountable-refcell = "0.2.0"
app_units = "0.7"
atomic_refcell = "0.1.6"
arrayvec = "0.7"
backtrace = "0.3"
base64 = "0.10.1"
bitflags = "1.0"
byteorder = "1.0"
encoding_rs = "0.8"
euclid = "0.22"
cookie = "0.12"
content-security-policy = { version = "0.5", features = ["serde"]}
crossbeam-channel = "0.4"
cssparser = "0.29"
darling = { version = "0.10", default-features = false }
data-url = "0.1.0"
env_logger = "0.8"
fnv = "1.0"
fxhash = "0.2"
getopts = "0.2.11"
gleam = "0.12"
headers = "0.3"
html5ever = "0.26"
http = "0.2"
hyper = "0.14"
hyper_serde = "0.13"
image = "0.24"
indexmap = { version = "1.0.2", features = ["std"] }
ipc-channel = "0.14"
itertools = "0.8"
keyboard-types = "0.6"
lazy_static = "1.4"
libc = "0.2"
log = "0.4"
malloc_size_of_derive = "0.1"
mime = "0.3.13"
mime_guess = "2.0.3"
mitochondria = "1.1.2"
num-traits = "0.2"
parking_lot = "0.11"
percent-encoding = "2.0"
proc-macro2 = "1"
quote = "1"
rand = "0.7"
rayon = "1"
regex = "1.1"
serde = "1.0.60"
serde_bytes = "0.11"
serde_json = "1.0"
syn = { version = "1", default-features = false, features = ["clone-impls", "derive", "parsing"] }
synstructure = "0.12"
smallbitvec = "2.3.0"
smallvec = "1.9"
sparkle = "0.1.25"
string_cache = "0.8"
string_cache_codegen = "0.5"
surfman = "0.6"
surfman-chains = "0.7"
surfman-chains-api = "0.2"
thin-slice = "0.1.0"
time = "0.1.41"
tokio = "1"
tokio2 = "0.2"
unicode-bidi = "0.3.4"
unicode-script = "0.5"
url = "2.0"
uuid = { version = "0.8", features = ["v4"] }
webdriver = "0.44"
winapi = "0.3"
xi-unicode = "0.1.0"
xml5ever = "0.17"
[profile.release] [profile.release]
opt-level = 3 opt-level = 3
# Uncomment to profile on Linux: # Uncomment to profile on Linux:

View file

@ -13,4 +13,4 @@ path = "lib.rs"
jemalloc-sys = { version = "0.3.2" } jemalloc-sys = { version = "0.3.2" }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["heapapi"] } winapi = { workspace = true, features = ["heapapi"] }

View file

@ -11,7 +11,7 @@ build = "build.rs"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
string_cache = "0.8" string_cache = { workspace = true }
[build-dependencies] [build-dependencies]
string_cache_codegen = "0.5" string_cache_codegen = { workspace = true }

View file

@ -13,16 +13,16 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
backtrace = "0.3" backtrace = { workspace = true }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
serde_json = "1.0" serde_json = { workspace = true }
[dev-dependencies] [dev-dependencies]
lazy_static = "1.0" lazy_static = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies] [target.'cfg(target_os = "macos")'.dependencies]
mach = "0.3" mach = "0.3"

View file

@ -11,15 +11,15 @@ name = "bluetooth"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
bitflags = "1.0" bitflags = { workspace = true }
bluetooth_traits = { path = "../bluetooth_traits" } bluetooth_traits = { path = "../bluetooth_traits" }
device = { git = "https://github.com/servo/devices", features = ["bluetooth-test"], rev = "cb28c4725ffbfece99dab842d17d3e8c50774778" } device = { git = "https://github.com/servo/devices", features = ["bluetooth-test"], rev = "cb28c4725ffbfece99dab842d17d3e8c50774778" }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
ipc-channel = "0.14" ipc-channel = { workspace = true }
log = "0.4" log = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_rand = { path = "../rand" } servo_rand = { path = "../rand" }
uuid = { version = "0.8", features = ["v4"] } uuid = { workspace = true }
[features] [features]
native-bluetooth = ["device/bluetooth"] native-bluetooth = ["device/bluetooth"]

View file

@ -12,6 +12,6 @@ path = "lib.rs"
[dependencies] [dependencies]
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
ipc-channel = "0.14" ipc-channel = { workspace = true }
regex = "1.1" regex = { workspace = true }
serde = "1.0" serde = { workspace = true }

View file

@ -16,34 +16,34 @@ webgl_backtrace = ["canvas_traits/webgl_backtrace"]
xr-profile = ["webxr-api/profile", "time"] xr-profile = ["webxr-api/profile", "time"]
[dependencies] [dependencies]
bitflags = "1.0" bitflags = { workspace = true }
byteorder = "1" byteorder = { workspace = true }
canvas_traits = { path = "../canvas_traits" } canvas_traits = { path = "../canvas_traits" }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
cssparser = "0.29" cssparser = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
font-kit = "0.11" font-kit = "0.11"
fnv = "1.0" fnv = { workspace = true }
gfx = { path = "../gfx" } gfx = { path = "../gfx" }
gleam = "0.12" gleam = { workspace = true }
half = "1" half = "1"
ipc-channel = "0.14" ipc-channel = { workspace = true }
log = "0.4" log = { workspace = true }
lyon_geom = "1.0.4" lyon_geom = "1.0.4"
num-traits = "0.2" num-traits = { workspace = true }
pathfinder_geometry = "0.5" pathfinder_geometry = "0.5"
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
raqote = "0.8.2" raqote = "0.8.2"
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
servo_config = { path = "../config" } servo_config = { path = "../config" }
sparkle = "0.1.25" sparkle = { workspace = true }
style = { path = "../style" } style = { path = "../style" }
style_traits = { path = "../style_traits" } style_traits = { path = "../style_traits" }
# NOTE: the sm-angle feature only enables angle on windows, not other platforms! # NOTE: the sm-angle feature only enables angle on windows, not other platforms!
surfman = { version = "0.6", features = ["sm-angle","sm-angle-default"] } surfman = { workspace = true, features = ["sm-angle","sm-angle-default"] }
surfman-chains = "0.7" surfman-chains = { workspace = true }
surfman-chains-api = "0.2" surfman-chains-api = { workspace = true }
time = { version = "0.1.41", optional = true } time = { workspace = true, optional = true }
webrender = { git = "https://github.com/servo/webrender" } webrender = { git = "https://github.com/servo/webrender" }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
webrender_surfman = { path = "../webrender_surfman" } webrender_surfman = { path = "../webrender_surfman" }

View file

@ -15,19 +15,19 @@ webgl_backtrace = []
xr-profile = ["webxr-api/profile", "time"] xr-profile = ["webxr-api/profile", "time"]
[dependencies] [dependencies]
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
cssparser = "0.29" cssparser = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
serde = "1.0" serde = { workspace = true }
serde_bytes = "0.11" serde_bytes = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
sparkle = "0.1" sparkle = { workspace = true }
style = { path = "../style" } style = { path = "../style" }
time = { version = "0.1.41", optional = true } time = { workspace = true, optional = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }

View file

@ -17,19 +17,19 @@ gl = ["gleam", "pixels"]
[dependencies] [dependencies]
canvas = { path = "../canvas" } canvas = { path = "../canvas" }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
euclid = "0.22" euclid = { workspace = true }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
gleam = { version = "0.12", optional = true } gleam = { workspace = true, optional = true }
image = "0.24" image = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
num-traits = "0.2" num-traits = { workspace = true }
pixels = { path = "../pixels", optional = true } pixels = { path = "../pixels", optional = true }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }
@ -37,7 +37,7 @@ servo-media = { git = "https://github.com/servo/media" }
servo_geometry = { path = "../geometry" } servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
style_traits = { path = "../style_traits" } style_traits = { path = "../style_traits" }
time = "0.1.41" time = { workspace = true }
webrender = { git = "https://github.com/servo/webrender", features = ["capture"] } webrender = { git = "https://github.com/servo/webrender", features = ["capture"] }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
webrender_surfman = { path = "../webrender_surfman" } webrender_surfman = { path = "../webrender_surfman" }

View file

@ -15,17 +15,17 @@ path = "lib.rs"
[dependencies] [dependencies]
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
euclid = "0.22" euclid = { workspace = true }
getopts = "0.2.11" getopts = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
log = "0.4" log = { workspace = true }
num_cpus = "1.1.0" num_cpus = "1.1.0"
serde = { version = "1.0", features = ["derive"] } serde = { workspace = true, features = ["derive"] }
serde_json = "1.0" serde_json = { workspace = true }
servo_config_plugins = { path = "../config_plugins" } servo_config_plugins = { path = "../config_plugins" }
servo_geometry = { path = "../geometry" } servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
url = "2.0" url = { workspace = true }
[dev-dependencies] [dev-dependencies]
std_test_override = { path = "../std_test_override" } std_test_override = { path = "../std_test_override" }

View file

@ -12,7 +12,7 @@ proc-macro = true
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
itertools = "0.8" itertools = { workspace = true }
proc-macro2 = "1" proc-macro2 = { workspace = true }
quote = "1" quote = { workspace = true }
syn = { version = "1", default-features = false, features = ["clone-impls", "parsing"] } syn = { workspace = true }

View file

@ -12,22 +12,22 @@ path = "lib.rs"
[dependencies] [dependencies]
background_hang_monitor = { path = "../background_hang_monitor" } background_hang_monitor = { path = "../background_hang_monitor" }
backtrace = "0.3" backtrace = { workspace = true }
bluetooth_traits = { path = "../bluetooth_traits" } bluetooth_traits = { path = "../bluetooth_traits" }
canvas_traits = { path = "../canvas_traits" } canvas_traits = { path = "../canvas_traits" }
compositing = { path = "../compositing" } compositing = { path = "../compositing" }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
devtools_traits = { path = "../devtools_traits" } devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
euclid = "0.22" euclid = { workspace = true }
gfx = { path = "../gfx" } gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
http = "0.2" http = { workspace = true }
headers = "0.3" headers = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
layout_traits = { path = "../layout_traits" } layout_traits = { path = "../layout_traits" }
log = "0.4" log = { workspace = true }
media = { path = "../media" } media = { path = "../media" }
metrics = { path = "../metrics" } metrics = { path = "../metrics" }
msg = { path = "../msg" } msg = { path = "../msg" }
@ -35,7 +35,7 @@ net = { path = "../net" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }
serde = "1.0" serde = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_rand = {path = "../rand" } servo_rand = {path = "../rand" }
servo_remutex = { path = "../remutex" } servo_remutex = { path = "../remutex" }

View file

@ -11,5 +11,5 @@ path = "lib.rs"
proc-macro = true proc-macro = true
[dependencies] [dependencies]
syn = { version = "1", default-features = false, features = ["derive", "parsing"] } syn = { workspace = true }
synstructure = "0.12" synstructure = { workspace = true }

View file

@ -10,8 +10,8 @@ publish = false
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
darling = { version = "0.10", default-features = false } darling = { workspace = true }
proc-macro2 = "1" proc-macro2 = { workspace = true }
quote = "1" quote = { workspace = true }
syn = { version = "1", default-features = false, features = ["clone-impls", "parsing"] } syn = { workspace = true }
synstructure = "0.12" synstructure = { workspace = true }

View file

@ -11,18 +11,18 @@ name = "devtools"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
devtools_traits = { path = "../devtools_traits" } devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
headers = "0.3" headers = { workspace = true }
http = "0.2" http = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
log = "0.4" log = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
serde = "1.0" serde = { workspace = true }
serde_json = "1.0" serde_json = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_rand = { path = "../rand" } servo_rand = { path = "../rand" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
time = "0.1" time = { workspace = true }
uuid = { version = "0.8", features = ["v4"] } uuid = { workspace = true }

View file

@ -11,14 +11,14 @@ name = "devtools_traits"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
bitflags = "1.0" bitflags = { workspace = true }
headers = "0.3" headers = { workspace = true }
http = "0.2" http = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
serde = "1.0" serde = { workspace = true }
servo_url = { path = "../url" } servo_url = { path = "../url" }
time = "0.1" time = { workspace = true }
uuid = { version = "0.8", features = ["v4", "serde"] } uuid = { workspace = true, features = ["serde"] }

View file

@ -7,8 +7,8 @@ publish = false
version = "0.0.1" version = "0.0.1"
[dependencies] [dependencies]
quote = "1" quote = { workspace = true }
syn = { version = "1", default-features = false, features = ["clone-impls", "parsing"] } syn = { workspace = true }
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -11,6 +11,6 @@ path = "lib.rs"
proc-macro = true proc-macro = true
[dependencies] [dependencies]
proc-macro2 = "1" proc-macro2 = { workspace = true }
quote = "1" quote = { workspace = true }
syn = { version = "1", default-features = false, features = ["clone-impls", "derive", "parsing"] } syn = { workspace = true }

View file

@ -11,15 +11,15 @@ name = "embedder_traits"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
log = "0.4" log = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
num-derive = "0.3" num-derive = "0.3"
num-traits = "0.2" num-traits = { workspace = true }
serde = "1.0" serde = { workspace = true }
servo_url = { path = "../url" } servo_url = { path = "../url" }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }

View file

@ -12,7 +12,7 @@ path = "lib.rs"
[dependencies] [dependencies]
hashglobe = { path = "../hashglobe" } hashglobe = { path = "../hashglobe" }
smallvec = "1.0" smallvec = { workspace = true }
# This crate effectively does nothing except if the `known_system_malloc` # This crate effectively does nothing except if the `known_system_malloc`
# feature is specified. # feature is specified.

View file

@ -11,8 +11,8 @@ name = "servo_geometry"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
app_units = "0.7" app_units = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -14,35 +14,35 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
app_units = "0.7" app_units = { workspace = true }
bitflags = "1.0" bitflags = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
fnv = "1.0" fnv = { workspace = true }
fontsan = { git = "https://github.com/servo/fontsan" } fontsan = { git = "https://github.com/servo/fontsan" }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
harfbuzz-sys = "0.5" harfbuzz-sys = "0.5"
ipc-channel = "0.14" ipc-channel = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
range = { path = "../range" } range = { path = "../range" }
serde = "1.0" serde = { workspace = true }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
servo_atoms = { path = "../atoms" } servo_atoms = { path = "../atoms" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
smallvec = { version = "1.9", features = ["union"] } smallvec = { workspace = true, features = ["union"] }
style = { path = "../style", features = ["servo"] } style = { path = "../style", features = ["servo"] }
time = "0.1.41" time = { workspace = true }
ucd = "0.1.1" ucd = "0.1.1"
unicode-bidi = { version = "0.3", features = ["with_serde"] } unicode-bidi = { workspace = true, features = ["with_serde"] }
unicode-script = "0.5" unicode-script = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
xi-unicode = "0.1.0" xi-unicode = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies] [target.'cfg(target_os = "macos")'.dependencies]
byteorder = "1.0" byteorder = { workspace = true }
core-foundation = "0.9" core-foundation = "0.9"
core-graphics = "0.22" core-graphics = "0.22"
core-text = "19.0" core-text = "19.0"

View file

@ -12,7 +12,7 @@ path = "lib.rs"
[dependencies] [dependencies]
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
range = { path = "../range" } range = { path = "../range" }
serde = "1.0" serde = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -10,7 +10,7 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
libc = "0.2" libc = { workspace = true }
[dev-dependencies] [dev-dependencies]
rand = "0.7" rand = { workspace = true }

View file

@ -11,6 +11,6 @@ path = "lib.rs"
proc-macro = true proc-macro = true
[dependencies] [dependencies]
proc-macro2 = "1" proc-macro2 = { workspace = true }
syn = { version = "1", default-features = false, features = ["clone-impls", "derive", "parsing"] } syn = { workspace = true }
synstructure = "0.12" synstructure = { workspace = true }

View file

@ -13,44 +13,44 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
app_units = "0.7" app_units = { workspace = true }
atomic_refcell = "0.1" atomic_refcell = { workspace = true }
bitflags = "1.0" bitflags = { workspace = true }
canvas_traits = { path = "../canvas_traits" } canvas_traits = { path = "../canvas_traits" }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
euclid = "0.22" euclid = { workspace = true }
fnv = "1.0" fnv = { workspace = true }
gfx = { path = "../gfx" } gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
html5ever = "0.26" html5ever = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
num-traits = "0.2" num-traits = { workspace = true }
parking_lot = "0.11" parking_lot = { workspace = true }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
range = { path = "../range" } range = { path = "../range" }
rayon = "1" rayon = { workspace = true }
script_layout_interface = { path = "../script_layout_interface" } script_layout_interface = { path = "../script_layout_interface" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }
serde = "1.0" serde = { workspace = true }
serde_json = "1.0" serde_json = { workspace = true }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
servo_atoms = { path = "../atoms" } servo_atoms = { path = "../atoms" }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" } servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
smallvec = { version = "1.9", features = ["union"] } smallvec = { workspace = true, features = ["union"] }
style = { path = "../style", features = ["servo", "servo-layout-2013"] } style = { path = "../style", features = ["servo", "servo-layout-2013"] }
style_traits = { path = "../style_traits" } style_traits = { path = "../style_traits" }
unicode-bidi = { version = "0.3", features = ["with_serde"] } unicode-bidi = { workspace = true, features = ["with_serde"] }
unicode-script = "0.5" unicode-script = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
xi-unicode = "0.1.0" xi-unicode = { workspace = true }
[dev-dependencies] [dev-dependencies]
size_of_test = { path = "../size_of_test" } size_of_test = { path = "../size_of_test" }

View file

@ -13,39 +13,39 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
app_units = "0.7" app_units = { workspace = true }
atomic_refcell = "0.1.6" atomic_refcell = { workspace = true }
canvas_traits = { path = "../canvas_traits" } canvas_traits = { path = "../canvas_traits" }
bitflags = "1.0" bitflags = { workspace = true }
cssparser = "0.29" cssparser = { workspace = true }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
euclid = "0.22" euclid = { workspace = true }
fnv = "1.0" fnv = { workspace = true }
fxhash = "0.2" fxhash = { workspace = true }
gfx = { path = "../gfx" } gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
html5ever = "0.26" html5ever = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
mitochondria = "1.1.2" mitochondria = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
parking_lot = "0.11" parking_lot = { workspace = true }
range = { path = "../range" } range = { path = "../range" }
rayon = "1" rayon = { workspace = true }
rayon_croissant = "0.2.0" rayon_croissant = "0.2.0"
script_layout_interface = { path = "../script_layout_interface" } script_layout_interface = { path = "../script_layout_interface" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }
serde = "1.0" serde = { workspace = true }
serde_json = "1.0" serde_json = { workspace = true }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
style = { path = "../style", features = ["servo", "servo-layout-2020"] } style = { path = "../style", features = ["servo", "servo-layout-2020"] }
style_traits = { path = "../style_traits" } style_traits = { path = "../style_traits" }
unicode-script = "0.5" unicode-script = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
[dev-dependencies] [dev-dependencies]
lazy_static = "1" lazy_static = { workspace = true }
quickcheck = "1" quickcheck = "1"

View file

@ -11,23 +11,23 @@ name = "layout_thread"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
app_units = "0.7" app_units = { workspace = true }
atomic_refcell = "0.1" atomic_refcell = { workspace = true }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
euclid = "0.22" euclid = { workspace = true }
fnv = "1.0" fnv = { workspace = true }
fxhash = "0.2" fxhash = { workspace = true }
gfx = { path = "../gfx" } gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
histogram = "0.6.8" histogram = "0.6.8"
html5ever = "0.26" html5ever = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
layout = { path = "../layout", package = "layout_2013" } layout = { path = "../layout", package = "layout_2013" }
layout_traits = { path = "../layout_traits" } layout_traits = { path = "../layout_traits" }
lazy_static = "1" lazy_static = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
metrics = { path = "../metrics" } metrics = { path = "../metrics" }
msg = { path = "../msg" } msg = { path = "../msg" }
@ -35,12 +35,12 @@ net_traits = { path = "../net_traits" }
parking_lot = { version = "0.11" } parking_lot = { version = "0.11" }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
range = { path = "../range" } range = { path = "../range" }
rayon = "1" rayon = { workspace = true }
script = { path = "../script" } script = { path = "../script" }
script_layout_interface = { path = "../script_layout_interface" } script_layout_interface = { path = "../script_layout_interface" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }
selectors = { path = "../selectors", features = ["shmem"] } selectors = { path = "../selectors", features = ["shmem"] }
serde_json = "1.0" serde_json = { workspace = true }
servo_allocator = { path = "../allocator" } servo_allocator = { path = "../allocator" }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
servo_atoms = { path = "../atoms" } servo_atoms = { path = "../atoms" }
@ -48,5 +48,5 @@ servo_config = { path = "../config" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
style = { path = "../style" } style = { path = "../style" }
style_traits = { path = "../style_traits" } style_traits = { path = "../style_traits" }
time = "0.1.41" time = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -11,22 +11,22 @@ name = "layout_thread"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
app_units = "0.7" app_units = { workspace = true }
atomic_refcell = "0.1" atomic_refcell = { workspace = true }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
euclid = "0.22" euclid = { workspace = true }
fnv = "1.0" fnv = { workspace = true }
fxhash = "0.2" fxhash = { workspace = true }
gfx = { path = "../gfx" } gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
html5ever = "0.26" html5ever = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
layout = { path = "../layout_2020", package = "layout_2020" } layout = { path = "../layout_2020", package = "layout_2020" }
layout_traits = { path = "../layout_traits" } layout_traits = { path = "../layout_traits" }
lazy_static = "1" lazy_static = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
metrics = { path = "../metrics" } metrics = { path = "../metrics" }
msg = { path = "../msg" } msg = { path = "../msg" }

View file

@ -11,9 +11,9 @@ name = "layout_traits"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
gfx = { path = "../gfx" } gfx = { path = "../gfx" }
ipc-channel = "0.14" ipc-channel = { workspace = true }
metrics = { path = "../metrics" } metrics = { path = "../metrics" }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }

View file

@ -28,28 +28,28 @@ servo = [
] ]
[dependencies] [dependencies]
accountable-refcell = { version = "0.2.0", optional = true } accountable-refcell = { workspace = true, optional = true }
app_units = "0.7" app_units = { workspace = true }
content-security-policy = { version = "0.5", features = ["serde"], optional = true } content-security-policy = { workspace = true, optional = true }
crossbeam-channel = { version = "0.4", optional = true } crossbeam-channel = { workspace = true, optional = true }
cssparser = "0.29" cssparser = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
hashglobe = { path = "../hashglobe" } hashglobe = { path = "../hashglobe" }
http = { version = "0.2", optional = true } http = { workspace = true, optional = true }
hyper_serde = { version = "0.13", optional = true } hyper_serde = { workspace = true, optional = true }
keyboard-types = { version = "0.6", optional = true } keyboard-types = { workspace = true, optional = true }
selectors = { path = "../selectors", features = ["shmem"] } selectors = { path = "../selectors", features = ["shmem"] }
serde = { version = "1.0.27", optional = true } serde = { workspace = true, optional = true }
serde_bytes = { version = "0.11", optional = true } serde_bytes = { workspace = true, optional = true }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
smallbitvec = "2.3.0" smallbitvec = { workspace = true }
smallvec = "1.0" smallvec = { workspace = true }
string_cache = { version = "0.8", optional = true } string_cache = { workspace = true, optional = true }
thin-slice = "0.1.0" thin-slice = { workspace = true }
time = { version = "0.1.41", optional = true } time = { workspace = true, optional = true }
tokio = "1" tokio = { workspace = true }
url = { version = "2.0", optional = true } url = { workspace = true, optional = true }
uuid = { version = "0.8", features = ["v4"], optional = true } uuid = { workspace = true, optional = true }
void = "1.0.2" void = "1.0.2"
webrender_api = { git = "https://github.com/servo/webrender", optional = true } webrender_api = { git = "https://github.com/servo/webrender", optional = true }
xml5ever = { version = "0.17", optional = true } xml5ever = { workspace = true, optional = true }

View file

@ -11,12 +11,12 @@ name = "media"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
euclid = "0.22" euclid = { workspace = true }
fnv = "1.0" fnv = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
log = "0.4" log = { workspace = true }
serde = "1.0" serde = { workspace = true }
servo-media = { git = "https://github.com/servo/media" } servo-media = { git = "https://github.com/servo/media" }
servo_config = { path = "../config" } servo_config = { path = "../config" }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -12,13 +12,13 @@ path = "lib.rs"
[dependencies] [dependencies]
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
ipc-channel = "0.14" ipc-channel = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
time = "0.1" time = { workspace = true }

View file

@ -13,12 +13,12 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
ipc-channel = "0.14" ipc-channel = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
parking_lot = "0.11" parking_lot = { workspace = true }
serde = "1.0.60" serde = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
[dev-dependencies] [dev-dependencies]

View file

@ -17,55 +17,55 @@ doctest = false
[dependencies] [dependencies]
async-recursion = "0.3.2" async-recursion = "0.3.2"
async-tungstenite = { version = "0.9", features = ["tokio-openssl"] } async-tungstenite = { version = "0.9", features = ["tokio-openssl"] }
base64 = "0.10.1" base64 = { workspace = true }
brotli = "3" brotli = "3"
bytes = "1" bytes = "1"
content-security-policy = { version = "0.5", features = ["serde"] } content-security-policy = { workspace = true }
cookie_rs = { package = "cookie", version = "0.12" } cookie_rs = { package = "cookie", version = "0.12" }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
data-url = "0.1.0" data-url = { workspace = true }
devtools_traits = { path = "../devtools_traits" } devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
flate2 = "1" flate2 = "1"
futures = { version = "0.3", package = "futures" } futures = { version = "0.3", package = "futures" }
futures-util = { version = "0.3" } futures-util = { version = "0.3" }
generic-array = "0.14" generic-array = "0.14"
headers = "0.3" headers = { workspace = true }
http = "0.2" http = { workspace = true }
hyper = { version = "0.14", features = ["client", "http1", "http2", "tcp", "stream"] } hyper = { workspace = true, features = ["client", "http1", "http2", "tcp", "stream"] }
hyper-openssl = "0.9.1" hyper-openssl = "0.9.1"
hyper_serde = "0.13" hyper_serde = { workspace = true }
immeta = "0.4" immeta = "0.4"
ipc-channel = "0.14" ipc-channel = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
libflate = "0.1" libflate = "0.1"
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
mime = "0.3" mime = { workspace = true }
mime_guess = "2.0.3" mime_guess = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
openssl = "0.10" openssl = "0.10"
openssl-sys = "0.9" openssl-sys = "0.9"
percent-encoding = "2.0" percent-encoding = { workspace = true }
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
rayon = "1" rayon = { workspace = true }
serde = "1.0" serde = { workspace = true }
serde_json = "1.0" serde_json = { workspace = true }
servo_allocator = { path = "../allocator" } servo_allocator = { path = "../allocator" }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
sha2 = "0.10" sha2 = "0.10"
time = "0.1.41" time = { workspace = true }
tokio = { version = "1", package = "tokio", features = ["sync", "macros", "rt-multi-thread"] } tokio = { version = "1", package = "tokio", features = ["sync", "macros", "rt-multi-thread"] }
tokio2 = { version = "0.2", package = "tokio", features = ["sync", "macros", "rt-threaded", "tcp"] } tokio2 = { version = "0.2", package = "tokio", features = ["sync", "macros", "rt-threaded", "tcp"] }
tokio-stream = "0.1" tokio-stream = "0.1"
tungstenite = "0.11" tungstenite = "0.11"
url = "2.0" url = { workspace = true }
uuid = { version = "0.8", features = ["v4"] } uuid = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
[dev-dependencies] [dev-dependencies]
@ -74,7 +74,7 @@ std_test_override = { path = "../std_test_override" }
tokio-openssl = "0.6" tokio-openssl = "0.6"
tokio-test = "0.4" tokio-test = "0.4"
tokio-stream = { version = "0.1", features = ["net"] } tokio-stream = { version = "0.1", features = ["net"] }
hyper = { version = "0.14", features = ["full"] } hyper = { workspace = true, features = ["full"] }
[[test]] [[test]]
name = "main" name = "main"

View file

@ -13,31 +13,31 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
content-security-policy = { version = "0.5", features = ["serde"] } content-security-policy = { workspace = true }
cookie = "0.12" cookie = { workspace = true }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
headers = "0.3" headers = { workspace = true }
http = "0.2" http = { workspace = true }
hyper = "0.14" hyper = { workspace = true }
hyper_serde = "0.13" hyper_serde = { workspace = true }
image = "0.24" image = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
mime = "0.3" mime = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
num-traits = "0.2" num-traits = { workspace = true }
percent-encoding = "2.0" percent-encoding = { workspace = true }
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
serde = "1.0" serde = { workspace = true }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
servo_rand = { path = "../rand" } servo_rand = { path = "../rand" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
time = "0.1" time = { workspace = true }
url = "2.0" url = { workspace = true }
uuid = { version = "0.8", features = ["v4", "serde"] } uuid = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
[dev-dependencies] [dev-dependencies]

View file

@ -11,7 +11,7 @@ name = "pixels"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
euclid = "0.22" euclid = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
serde = { version = "1", features = ["derive"] } serde = { workspace = true, features = ["derive"] }

View file

@ -11,18 +11,18 @@ name = "profile"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
ipc-channel = "0.14" ipc-channel = { workspace = true }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
serde = "1.0" serde = { workspace = true }
serde_json = "1.0" serde_json = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
[target.'cfg(target_os = "macos")'.dependencies] [target.'cfg(target_os = "macos")'.dependencies]
task_info = { path = "../../support/rust-task_info" } task_info = { path = "../../support/rust-task_info" }
[target.'cfg(target_os = "linux")'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]
regex = "1.1" regex = { workspace = true }
[target.'cfg(not(target_os = "windows"))'.dependencies] [target.'cfg(not(target_os = "windows"))'.dependencies]
libc = "0.2" libc = { workspace = true }
servo_allocator = { path = "../allocator" } servo_allocator = { path = "../allocator" }

View file

@ -11,10 +11,10 @@ name = "profile_traits"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
log = "0.4" log = { workspace = true }
serde = "1.0" serde = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
signpost = { git = "https://github.com/pcwalton/signpost.git" } signpost = { git = "https://github.com/pcwalton/signpost.git" }
time = "0.1.41" time = { workspace = true }

View file

@ -11,9 +11,9 @@ name = "servo_rand"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
lazy_static = "1" lazy_static = { workspace = true }
log = "0.4" log = { workspace = true }
rand = "0.7" rand = { workspace = true }
rand_core = "0.5" rand_core = "0.5"
rand_isaac = "0.2" rand_isaac = "0.2"
uuid = "0.8" uuid = { workspace = true }

View file

@ -12,6 +12,6 @@ path = "lib.rs"
[dependencies] [dependencies]
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
num-traits = "0.2" num-traits = { workspace = true }
serde = "1.0" serde = { workspace = true }

View file

@ -13,5 +13,5 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
lazy_static = "1" lazy_static = { workspace = true }
log = "0.4" log = { workspace = true }

View file

@ -27,73 +27,73 @@ xr-profile = ["webxr-api/profile"]
[build-dependencies] [build-dependencies]
phf_codegen = "0.8" phf_codegen = "0.8"
phf_shared = "0.8" phf_shared = "0.8"
serde_json = "1.0" serde_json = { workspace = true }
[dependencies] [dependencies]
accountable-refcell = { version = "0.2.0", optional = true } accountable-refcell = { workspace = true, optional = true }
app_units = "0.7" app_units = { workspace = true }
arrayvec = "0.7" arrayvec = { workspace = true }
atomic_refcell = "0.1" atomic_refcell = { workspace = true }
backtrace = "0.3" backtrace = { workspace = true }
base64 = "0.10.1" base64 = { workspace = true }
bitflags = "1.0" bitflags = { workspace = true }
bluetooth_traits = { path = "../bluetooth_traits" } bluetooth_traits = { path = "../bluetooth_traits" }
canvas_traits = { path = "../canvas_traits" } canvas_traits = { path = "../canvas_traits" }
chrono = "0.4" chrono = "0.4"
content-security-policy = { version = "0.5", features = ["serde"] } content-security-policy = { workspace = true }
cookie = "0.12" cookie = { workspace = true }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
cssparser = "0.29" cssparser = { workspace = true }
data-url = "0.1.0" data-url = { workspace = true }
deny_public_fields = { path = "../deny_public_fields" } deny_public_fields = { path = "../deny_public_fields" }
devtools_traits = { path = "../devtools_traits" } devtools_traits = { path = "../devtools_traits" }
dom_struct = { path = "../dom_struct" } dom_struct = { path = "../dom_struct" }
domobject_derive = { path = "../domobject_derive" } domobject_derive = { path = "../domobject_derive" }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
encoding_rs = "0.8" encoding_rs = { workspace = true }
enum-iterator = "0.3" enum-iterator = "0.3"
euclid = "0.22" euclid = { workspace = true }
fnv = "1.0" fnv = { workspace = true }
fxhash = "0.2" fxhash = { workspace = true }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
headers = "0.3" headers = { workspace = true }
html5ever = "0.26" html5ever = { workspace = true }
http = "0.2" http = { workspace = true }
hyper_serde = "0.13" hyper_serde = { workspace = true }
image = "0.24" image = { workspace = true }
indexmap = { version = "1.0.2", features = ["std"] } indexmap = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
itertools = "0.8" itertools = { workspace = true }
js = { package = "mozjs", git = "https://github.com/servo/mozjs" } js = { package = "mozjs", git = "https://github.com/servo/mozjs" }
jstraceable_derive = { path = "../jstraceable_derive" } jstraceable_derive = { path = "../jstraceable_derive" }
keyboard-types = "0.6" keyboard-types = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
media = { path = "../media" } media = { path = "../media" }
metrics = { path = "../metrics" } metrics = { path = "../metrics" }
mime = "0.3.13" mime = { workspace = true }
mime_guess = "2.0.0" mime_guess = { workspace = true }
mitochondria = "1.1.2" mitochondria = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
num-traits = "0.2" num-traits = { workspace = true }
parking_lot = "0.11" parking_lot = { workspace = true }
percent-encoding = "2.0" percent-encoding = { workspace = true }
phf = "0.8" phf = "0.8"
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
range = { path = "../range" } range = { path = "../range" }
ref_filter_map = "1.0.1" ref_filter_map = "1.0.1"
regex = "1.1" regex = { workspace = true }
script_layout_interface = { path = "../script_layout_interface" } script_layout_interface = { path = "../script_layout_interface" }
script_plugins = { path = "../script_plugins" } script_plugins = { path = "../script_plugins" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }
selectors = { path = "../selectors", features = ["shmem"] } selectors = { path = "../selectors", features = ["shmem"] }
serde = { version = "1", features = ["derive"] } serde = { workspace = true, features = ["derive"] }
serde_bytes = "0.11" serde_bytes = { workspace = true }
servo-media = { git = "https://github.com/servo/media" } servo-media = { git = "https://github.com/servo/media" }
servo_allocator = { path = "../allocator" } servo_allocator = { path = "../allocator" }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
@ -102,24 +102,24 @@ servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" } servo_geometry = { path = "../geometry" }
servo_rand = { path = "../rand" } servo_rand = { path = "../rand" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
smallvec = { version = "1.9", features = ["union"] } smallvec = { workspace = true, features = ["union"] }
sparkle = "0.1" sparkle = { workspace = true }
style = { path = "../style", features = ["servo"] } style = { path = "../style", features = ["servo"] }
style_traits = { path = "../style_traits" } style_traits = { path = "../style_traits" }
swapper = "0.1" swapper = "0.1"
tempfile = "3" tempfile = "3"
tendril = { version = "0.4.1", features = ["encoding_rs"] } tendril = { version = "0.4.1", features = ["encoding_rs"] }
time = "0.1.41" time = { workspace = true }
unicode-bidi = "0.3.4" unicode-bidi = { workspace = true }
unicode-segmentation = "1.1.0" unicode-segmentation = "1.1.0"
url = "2.0" url = { workspace = true }
utf-8 = "0.7" utf-8 = "0.7"
uuid = { version = "0.8", features = ["v4", "serde"] } uuid = { workspace = true, features = ["serde"] }
webdriver = "0.44" webdriver = { workspace = true }
webgpu = { path = "../webgpu" } webgpu = { path = "../webgpu" }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
xml5ever = "0.17" xml5ever = { workspace = true }
[target.'cfg(not(target_os = "ios"))'.dependencies] [target.'cfg(not(target_os = "ios"))'.dependencies]
mozangle = { version = "0.3", features = ["egl", "build_dlls"] } mozangle = { version = "0.3", features = ["egl", "build_dlls"] }

View file

@ -11,22 +11,22 @@ name = "script_layout_interface"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
app_units = "0.7" app_units = { workspace = true }
atomic_refcell = "0.1" atomic_refcell = { workspace = true }
canvas_traits = { path = "../canvas_traits" } canvas_traits = { path = "../canvas_traits" }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
fxhash = "0.2" fxhash = { workspace = true }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
html5ever = "0.26" html5ever = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
libc = "0.2" libc = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
metrics = { path = "../metrics" } metrics = { path = "../metrics" }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
parking_lot = "0.11" parking_lot = { workspace = true }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
range = { path = "../range" } range = { path = "../range" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }

View file

@ -11,37 +11,37 @@ name = "script_traits"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
bitflags = "1.0" bitflags = { workspace = true }
bluetooth_traits = { path = "../bluetooth_traits" } bluetooth_traits = { path = "../bluetooth_traits" }
canvas_traits = { path = "../canvas_traits" } canvas_traits = { path = "../canvas_traits" }
cookie = "0.12" cookie = { workspace = true }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
devtools_traits = { path = "../devtools_traits" } devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
euclid = "0.22" euclid = { workspace = true }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
headers = "0.3" headers = { workspace = true }
http = "0.2" http = { workspace = true }
hyper_serde = "0.13" hyper_serde = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
media = { path = "../media" } media = { path = "../media" }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
profile_traits = { path = "../profile_traits" } profile_traits = { path = "../profile_traits" }
serde = "1.0" serde = { workspace = true }
servo_atoms = { path = "../atoms" } servo_atoms = { path = "../atoms" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
smallvec = "1.9" smallvec = { workspace = true }
style_traits = { path = "../style_traits", features = ["servo"] } style_traits = { path = "../style_traits", features = ["servo"] }
time = "0.1.41" time = { workspace = true }
uuid = { version = "0.8", features = ["v4"] } uuid = { workspace = true }
webdriver = "0.44" webdriver = { workspace = true }
webgpu = { path = "../webgpu" } webgpu = { path = "../webgpu" }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }

View file

@ -45,21 +45,21 @@ canvas = { path = "../canvas", default-features = false }
canvas_traits = { path = "../canvas_traits" } canvas_traits = { path = "../canvas_traits" }
compositing = { path = "../compositing", features = ["gl"] } compositing = { path = "../compositing", features = ["gl"] }
constellation = { path = "../constellation" } constellation = { path = "../constellation" }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
devtools = { path = "../devtools" } devtools = { path = "../devtools" }
devtools_traits = { path = "../devtools_traits" } devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
env_logger = "0.8" env_logger = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
gfx = { path = "../gfx" } gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" } gfx_traits = { path = "../gfx_traits" }
gleam = "0.12" gleam = { workspace = true }
gstreamer = { version = "0.15", features = ["v1_16"], optional = true } gstreamer = { version = "0.15", features = ["v1_16"], optional = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
layout_thread_2013 = { path = "../layout_thread", optional = true } layout_thread_2013 = { path = "../layout_thread", optional = true }
layout_thread_2020 = { path = "../layout_thread_2020", optional = true } layout_thread_2020 = { path = "../layout_thread_2020", optional = true }
log = "0.4" log = { workspace = true }
media = { path = "../media" } media = { path = "../media" }
msg = { path = "../msg" } msg = { path = "../msg" }
net = { path = "../net" } net = { path = "../net" }
@ -75,10 +75,10 @@ servo-media-gstreamer = { git = "https://github.com/servo/media", optional = tru
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" } servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
sparkle = "0.1" sparkle = { workspace = true }
style = { path = "../style", features = ["servo"] } style = { path = "../style", features = ["servo"] }
style_traits = { path = "../style_traits", features = ["servo"] } style_traits = { path = "../style_traits", features = ["servo"] }
surfman = "0.6" surfman = { workspace = true }
webdriver_server = { path = "../webdriver_server", optional = true } webdriver_server = { path = "../webdriver_server", optional = true }
webgpu = { path = "../webgpu" } webgpu = { path = "../webgpu" }
webrender = { git = "https://github.com/servo/webrender" } webrender = { git = "https://github.com/servo/webrender" }

View file

@ -17,5 +17,5 @@ servo = ["serde"]
[dependencies] [dependencies]
nodrop = { version = "0.1.8" } nodrop = { version = "0.1.8" }
serde = { version = "1.0", optional = true } serde = { workspace = true, optional = true }
stable_deref_trait = "1.0.0" stable_deref_trait = "1.0.0"

View file

@ -15,9 +15,9 @@ servo = ["cssparser/serde", "string_cache"]
gecko = [] gecko = []
[dependencies] [dependencies]
cssparser = "0.29" cssparser = { workspace = true }
servo_arc = { path = "../servo_arc" } servo_arc = { path = "../servo_arc" }
smallbitvec = "2.1.1" smallbitvec = { workspace = true }
smallvec = "1.0" smallvec = { workspace = true }
string_cache = { version = "0.8", optional = true } string_cache = { workspace = true, optional = true }
thin-slice = "0.1.0" thin-slice = { workspace = true }

View file

@ -11,9 +11,9 @@ path = "lib.rs"
proc-macro = true proc-macro = true
[dependencies] [dependencies]
darling = { version = "0.10", default-features = false } darling = { workspace = true }
derive_common = { path = "../derive_common" } derive_common = { path = "../derive_common" }
proc-macro2 = "1" proc-macro2 = { workspace = true }
quote = "1" quote = { workspace = true }
syn = { version = "1", default-features = false, features = ["derive", "parsing"] } syn = { workspace = true }
synstructure = "0.12" synstructure = { workspace = true }

View file

@ -12,9 +12,9 @@ path = "lib.rs"
[dependencies] [dependencies]
malloc_size_of = { path = "../malloc_size_of", features = ["servo"] } malloc_size_of = { path = "../malloc_size_of", features = ["servo"] }
malloc_size_of_derive = "0.1" malloc_size_of_derive = { workspace = true }
serde = { version = "1.0", features = ["derive"] } serde = { workspace = true, features = ["derive"] }
servo_rand = { path = "../rand" } servo_rand = { path = "../rand" }
to_shmem = { path = "../to_shmem" } to_shmem = { path = "../to_shmem" }
url = { version = "2.0", features = ["serde"] } url = { workspace = true, features = ["serde"] }
uuid = { version = "0.8", features = ["serde", "v4"] } uuid = { workspace = true, features = ["serde"] }

View file

@ -11,25 +11,25 @@ name = "webdriver_server"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
base64 = "0.10" base64 = { workspace = true }
compositing = { path = "../compositing" } compositing = { path = "../compositing" }
cookie = "0.12" cookie = { workspace = true }
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
headers = "0.3" headers = { workspace = true }
http = "0.2" http = { workspace = true }
image = "0.24" image = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
log = "0.4" log = { workspace = true }
msg = { path = "../msg" } msg = { path = "../msg" }
net_traits = { path = "../net_traits" } net_traits = { path = "../net_traits" }
pixels = { path = "../pixels" } pixels = { path = "../pixels" }
script_traits = { path = "../script_traits" } script_traits = { path = "../script_traits" }
serde = "1" serde = { workspace = true }
serde_json = "1" serde_json = { workspace = true }
servo_config = { path = "../config" } servo_config = { path = "../config" }
servo_url = { path = "../url" } servo_url = { path = "../url" }
style_traits = { path = "../style_traits" } style_traits = { path = "../style_traits" }
uuid = { version = "0.8", features = ["v4"] } uuid = { workspace = true }
webdriver = "0.44" webdriver = { workspace = true }

View file

@ -11,15 +11,15 @@ name = "webgpu"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
arrayvec = { version = "0.7", features = ["serde"] } arrayvec = { workspace = true, features = ["serde"] }
euclid = "0.22" euclid = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
log = "0.4" log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
msg = { path = "../msg" } msg = { path = "../msg" }
serde = { version = "1.0", features = ["serde_derive"] } serde = { workspace = true, features = ["serde_derive"] }
servo_config = { path = "../config" } servo_config = { path = "../config" }
smallvec = { version = "1.9", features = ["serde"] } smallvec = { workspace = true, features = ["serde"] }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }
webrender_traits = { path = "../webrender_traits" } webrender_traits = { path = "../webrender_traits" }
wgpu-core = { version = "0.6.0", git = "https://github.com/gfx-rs/wgpu", features = ["replay", "trace", "serial-pass"], rev = "e72724a6e393503c73f37e86aa9317a5c62e32b8" } wgpu-core = { version = "0.6.0", git = "https://github.com/gfx-rs/wgpu", features = ["replay", "trace", "serial-pass"], rev = "e72724a6e393503c73f37e86aa9317a5c62e32b8" }

View file

@ -11,7 +11,7 @@ name = "webrender_surfman"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
euclid = "0.22" euclid = { workspace = true }
surfman = "0.6" surfman = { workspace = true }
surfman-chains = "0.7" surfman-chains = { workspace = true }

View file

@ -11,6 +11,6 @@ name = "webrender_traits"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
euclid = "0.22" euclid = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" } webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -15,8 +15,8 @@ crate-type = ["cdylib"]
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
crossbeam-channel = "0.4" crossbeam-channel = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
glib = "0.9" glib = "0.9"
gstreamer = "0.15" gstreamer = "0.15"
gstreamer-base = "0.15" gstreamer-base = "0.15"
@ -24,14 +24,14 @@ gstreamer-gl = "0.15"
gstreamer-gl-sys = { version = "0.8", features = ["wayland"] } gstreamer-gl-sys = { version = "0.8", features = ["wayland"] }
gstreamer-sys = "0.8" gstreamer-sys = "0.8"
gstreamer-video = "0.15" gstreamer-video = "0.15"
lazy_static = "1.4" lazy_static = { workspace = true }
libservo = { path = "../../components/servo" } libservo = { path = "../../components/servo" }
log = "0.4" log = { workspace = true }
servo-media = { git = "https://github.com/servo/media" } servo-media = { git = "https://github.com/servo/media" }
sparkle = "0.1" sparkle = { workspace = true }
surfman = "0.6" surfman = { workspace = true }
surfman-chains = "0.7" surfman-chains = { workspace = true }
surfman-chains-api = "0.2" surfman-chains-api = { workspace = true }
webxr = { git = "https://github.com/servo/webxr", features = ["glwindow"] } webxr = { git = "https://github.com/servo/webxr", features = ["glwindow"] }
[build-dependencies] [build-dependencies]

View file

@ -18,11 +18,11 @@ layout-2013 = ["simpleservo/layout-2013"]
layout-2020 = ["simpleservo/layout-2020"] layout-2020 = ["simpleservo/layout-2020"]
[dependencies] [dependencies]
libc = "0.2" libc = { workspace = true }
libservo = { path = "../../components/servo", features = ["no_static_freetype"] } libservo = { path = "../../components/servo", features = ["no_static_freetype"] }
log = "0.4" log = { workspace = true }
servo-egl = "0.2" servo-egl = "0.2"
simpleservo = { path = "../libsimpleservo/api", features = ["no_static_freetype"] } simpleservo = { path = "../libsimpleservo/api", features = ["no_static_freetype"] }
smallvec = "1.9" smallvec = { workspace = true }
webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "magicleap"] } webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "magicleap"] }
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }

View file

@ -7,30 +7,30 @@ edition = "2018"
publish = false publish = false
[dependencies] [dependencies]
getopts = "0.2.11" getopts = { workspace = true }
ipc-channel = "0.14" ipc-channel = { workspace = true }
libservo = { path = "../../../components/servo" } libservo = { path = "../../../components/servo" }
log = "0.4" log = { workspace = true }
servo-media = { git = "https://github.com/servo/media" } servo-media = { git = "https://github.com/servo/media" }
surfman = { version = "0.6", features = ["sm-angle-default"] } surfman = { workspace = true, features = ["sm-angle-default"] }
webxr = { git = "https://github.com/servo/webxr"} webxr = { git = "https://github.com/servo/webxr"}
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
[target.'cfg(not(target_os = "macos"))'.dependencies] [target.'cfg(not(target_os = "macos"))'.dependencies]
libc = "0.2" libc = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies] [target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.6" core-foundation = "0.6"
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
winapi = "0.3.2" winapi = { workspace = true }
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies] [target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies]
libloading = "0.5" libloading = "0.5"
[build-dependencies] [build-dependencies]
gl_generator = "0.14" gl_generator = "0.14"
serde_json = "1.0" serde_json = { workspace = true }
[features] [features]
debugmozjs = ["libservo/debugmozjs"] debugmozjs = ["libservo/debugmozjs"]

View file

@ -13,17 +13,17 @@ test = false
bench = false bench = false
[dependencies] [dependencies]
backtrace = "0.3" backtrace = { workspace = true }
env_logger = "0.8" env_logger = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
log = "0.4" log = { workspace = true }
simpleservo = { path = "../api" } simpleservo = { path = "../api" }
surfman = "0.6" surfman = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
libc = "0.2" libc = { workspace = true }
winapi = { version = "0.3", features = ["wingdi", "winuser", "winnt", "winbase", "processenv", "namedpipeapi", "ntdef", "minwindef", "handleapi", "debugapi"] } winapi = { workspace = true, features = ["wingdi", "winuser", "winnt", "winbase", "processenv", "namedpipeapi", "ntdef", "minwindef", "handleapi", "debugapi"] }
[build-dependencies] [build-dependencies]
cbindgen = "0.20" cbindgen = "0.20"

View file

@ -18,9 +18,9 @@ android_injected_glue = "0.2"
android_logger = "0.10" android_logger = "0.10"
gstreamer = "0.15" gstreamer = "0.15"
jni = "0.18.0" jni = "0.18.0"
libc = "0.2" libc = { workspace = true }
log = "0.4" log = { workspace = true }
serde_json = "1.0" serde_json = { workspace = true }
simpleservo = { path = "../api" } simpleservo = { path = "../api" }
[build-dependencies] [build-dependencies]

View file

@ -46,27 +46,27 @@ webrender_debugger = ["libservo/webrender_debugger"]
xr-profile = ["libservo/xr-profile"] xr-profile = ["libservo/xr-profile"]
[target.'cfg(not(target_os = "android"))'.dependencies] [target.'cfg(not(target_os = "android"))'.dependencies]
backtrace = "0.3" backtrace = { workspace = true }
clipboard = "0.5" clipboard = "0.5"
euclid = "0.22" euclid = { workspace = true }
getopts = "0.2.11" getopts = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
lazy_static = "1" lazy_static = { workspace = true }
libc = "0.2" libc = { workspace = true }
libservo = { path = "../../components/servo" } libservo = { path = "../../components/servo" }
log = "0.4" log = { workspace = true }
servo-media = { git = "https://github.com/servo/media" } servo-media = { git = "https://github.com/servo/media" }
shellwords = "1.0.0" shellwords = "1.0.0"
surfman = { version = "0.6", features = ["sm-winit", "sm-x11"] } surfman = { workspace = true, features = ["sm-winit", "sm-x11"] }
tinyfiledialogs = "3.0" tinyfiledialogs = "3.0"
webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow", "headless"] } webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow", "headless"] }
winit = "0.28.3" winit = "0.28.3"
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies] [target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]
image = "0.24" image = { workspace = true }
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies] [target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
sig = "1.0" sig = "1.0"
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["wingdi", "winuser", "winnt", "winbase", "processenv", "namedpipeapi", "ntdef", "minwindef", "handleapi", "debugapi"] } winapi = { workspace = true, features = ["wingdi", "winuser", "winnt", "winbase", "processenv", "namedpipeapi", "ntdef", "minwindef", "handleapi", "debugapi"] }

View file

@ -12,9 +12,9 @@ doctest = false
[dependencies] [dependencies]
gfx_traits = {path = "../../../components/gfx_traits"} gfx_traits = {path = "../../../components/gfx_traits"}
ipc-channel = "0.14" ipc-channel = { workspace = true }
metrics = {path = "../../../components/metrics"} metrics = {path = "../../../components/metrics"}
msg = {path = "../../../components/msg"} msg = {path = "../../../components/msg"}
profile_traits = {path = "../../../components/profile_traits"} profile_traits = {path = "../../../components/profile_traits"}
servo_url = {path = "../../../components/url"} servo_url = {path = "../../../components/url"}
time = "0.1.12" time = { workspace = true }

View file

@ -11,7 +11,7 @@ path = "lib.rs"
doctest = false doctest = false
[dependencies] [dependencies]
ipc-channel = "0.14" ipc-channel = { workspace = true }
profile = {path = "../../../components/profile"} profile = {path = "../../../components/profile"}
profile_traits = {path = "../../../components/profile_traits"} profile_traits = {path = "../../../components/profile_traits"}
servo_config = {path = "../../../components/config"} servo_config = {path = "../../../components/config"}

View file

@ -10,7 +10,7 @@ name = "script_tests"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
euclid = "0.22" euclid = { workspace = true }
keyboard-types = "0.6" keyboard-types = { workspace = true }
script = {path = "../../../components/script"} script = {path = "../../../components/script"}
servo_url = {path = "../../../components/url"} servo_url = {path = "../../../components/url"}

View file

@ -10,12 +10,12 @@ path = "lib.rs"
doctest = false doctest = false
[dependencies] [dependencies]
app_units = "0.7" app_units = { workspace = true }
cssparser = "0.29" cssparser = { workspace = true }
euclid = "0.22" euclid = { workspace = true }
html5ever = "0.26" html5ever = { workspace = true }
rayon = "1" rayon = { workspace = true }
serde_json = "1.0" serde_json = { workspace = true }
selectors = {path = "../../../components/selectors", features = ["shmem"] } selectors = {path = "../../../components/selectors", features = ["shmem"] }
servo_arc = {path = "../../../components/servo_arc"} servo_arc = {path = "../../../components/servo_arc"}
servo_atoms = {path = "../../../components/atoms"} servo_atoms = {path = "../../../components/atoms"}