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"]
[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]
opt-level = 3
# Uncomment to profile on Linux:

View file

@ -13,4 +13,4 @@ path = "lib.rs"
jemalloc-sys = { version = "0.3.2" }
[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"
[dependencies]
string_cache = "0.8"
string_cache = { workspace = true }
[build-dependencies]
string_cache_codegen = "0.5"
string_cache_codegen = { workspace = true }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -11,8 +11,8 @@ name = "servo_geometry"
path = "lib.rs"
[dependencies]
app_units = "0.7"
euclid = "0.22"
app_units = { workspace = true }
euclid = { workspace = true }
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" }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -11,10 +11,10 @@ name = "profile_traits"
path = "lib.rs"
[dependencies]
crossbeam-channel = "0.4"
ipc-channel = "0.14"
log = "0.4"
serde = "1.0"
crossbeam-channel = { workspace = true }
ipc-channel = { workspace = true }
log = { workspace = true }
serde = { workspace = true }
servo_config = { path = "../config" }
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"
[dependencies]
lazy_static = "1"
log = "0.4"
rand = "0.7"
lazy_static = { workspace = true }
log = { workspace = true }
rand = { workspace = true }
rand_core = "0.5"
rand_isaac = "0.2"
uuid = "0.8"
uuid = { workspace = true }

View file

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

View file

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

View file

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

View file

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

View file

@ -11,37 +11,37 @@ name = "script_traits"
path = "lib.rs"
[dependencies]
bitflags = "1.0"
bitflags = { workspace = true }
bluetooth_traits = { path = "../bluetooth_traits" }
canvas_traits = { path = "../canvas_traits" }
cookie = "0.12"
crossbeam-channel = "0.4"
cookie = { workspace = true }
crossbeam-channel = { workspace = true }
devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" }
euclid = "0.22"
euclid = { workspace = true }
gfx_traits = { path = "../gfx_traits" }
headers = "0.3"
http = "0.2"
hyper_serde = "0.13"
ipc-channel = "0.14"
keyboard-types = "0.6"
libc = "0.2"
log = "0.4"
headers = { workspace = true }
http = { workspace = true }
hyper_serde = { workspace = true }
ipc-channel = { workspace = true }
keyboard-types = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
malloc_size_of_derive = { workspace = true }
media = { path = "../media" }
msg = { path = "../msg" }
net_traits = { path = "../net_traits" }
pixels = { path = "../pixels" }
profile_traits = { path = "../profile_traits" }
serde = "1.0"
serde = { workspace = true }
servo_atoms = { path = "../atoms" }
servo_url = { path = "../url" }
smallvec = "1.9"
smallvec = { workspace = true }
style_traits = { path = "../style_traits", features = ["servo"] }
time = "0.1.41"
uuid = { version = "0.8", features = ["v4"] }
webdriver = "0.44"
time = { workspace = true }
uuid = { workspace = true }
webdriver = { workspace = true }
webgpu = { path = "../webgpu" }
webrender_api = { git = "https://github.com/servo/webrender" }
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" }
compositing = { path = "../compositing", features = ["gl"] }
constellation = { path = "../constellation" }
crossbeam-channel = "0.4"
crossbeam-channel = { workspace = true }
devtools = { path = "../devtools" }
devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" }
env_logger = "0.8"
euclid = "0.22"
env_logger = { workspace = true }
euclid = { workspace = true }
gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" }
gleam = "0.12"
gleam = { workspace = true }
gstreamer = { version = "0.15", features = ["v1_16"], optional = true }
ipc-channel = "0.14"
keyboard-types = "0.6"
ipc-channel = { workspace = true }
keyboard-types = { workspace = true }
layout_thread_2013 = { path = "../layout_thread", optional = true }
layout_thread_2020 = { path = "../layout_thread_2020", optional = true }
log = "0.4"
log = { workspace = true }
media = { path = "../media" }
msg = { path = "../msg" }
net = { path = "../net" }
@ -75,10 +75,10 @@ servo-media-gstreamer = { git = "https://github.com/servo/media", optional = tru
servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" }
sparkle = "0.1"
sparkle = { workspace = true }
style = { path = "../style", features = ["servo"] }
style_traits = { path = "../style_traits", features = ["servo"] }
surfman = "0.6"
surfman = { workspace = true }
webdriver_server = { path = "../webdriver_server", optional = true }
webgpu = { path = "../webgpu" }
webrender = { git = "https://github.com/servo/webrender" }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -11,15 +11,15 @@ name = "webgpu"
path = "lib.rs"
[dependencies]
arrayvec = { version = "0.7", features = ["serde"] }
euclid = "0.22"
ipc-channel = "0.14"
log = "0.4"
arrayvec = { workspace = true, features = ["serde"] }
euclid = { workspace = true }
ipc-channel = { workspace = true }
log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" }
msg = { path = "../msg" }
serde = { version = "1.0", features = ["serde_derive"] }
serde = { workspace = true, features = ["serde_derive"] }
servo_config = { path = "../config" }
smallvec = { version = "1.9", features = ["serde"] }
smallvec = { workspace = true, features = ["serde"] }
webrender_api = { git = "https://github.com/servo/webrender" }
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" }

View file

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

View file

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

View file

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

View file

@ -18,11 +18,11 @@ layout-2013 = ["simpleservo/layout-2013"]
layout-2020 = ["simpleservo/layout-2020"]
[dependencies]
libc = "0.2"
libc = { workspace = true }
libservo = { path = "../../components/servo", features = ["no_static_freetype"] }
log = "0.4"
log = { workspace = true }
servo-egl = "0.2"
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-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }

View file

@ -7,30 +7,30 @@ edition = "2018"
publish = false
[dependencies]
getopts = "0.2.11"
ipc-channel = "0.14"
getopts = { workspace = true }
ipc-channel = { workspace = true }
libservo = { path = "../../../components/servo" }
log = "0.4"
log = { workspace = true }
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-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
[target.'cfg(not(target_os = "macos"))'.dependencies]
libc = "0.2"
libc = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.6"
[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]
libloading = "0.5"
[build-dependencies]
gl_generator = "0.14"
serde_json = "1.0"
serde_json = { workspace = true }
[features]
debugmozjs = ["libservo/debugmozjs"]

View file

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

View file

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

View file

@ -46,27 +46,27 @@ webrender_debugger = ["libservo/webrender_debugger"]
xr-profile = ["libservo/xr-profile"]
[target.'cfg(not(target_os = "android"))'.dependencies]
backtrace = "0.3"
backtrace = { workspace = true }
clipboard = "0.5"
euclid = "0.22"
getopts = "0.2.11"
keyboard-types = "0.6"
lazy_static = "1"
libc = "0.2"
euclid = { workspace = true }
getopts = { workspace = true }
keyboard-types = { workspace = true }
lazy_static = { workspace = true }
libc = { workspace = true }
libservo = { path = "../../components/servo" }
log = "0.4"
log = { workspace = true }
servo-media = { git = "https://github.com/servo/media" }
shellwords = "1.0.0"
surfman = { version = "0.6", features = ["sm-winit", "sm-x11"] }
surfman = { workspace = true, features = ["sm-winit", "sm-x11"] }
tinyfiledialogs = "3.0"
webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow", "headless"] }
winit = "0.28.3"
[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]
sig = "1.0"
[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]
gfx_traits = {path = "../../../components/gfx_traits"}
ipc-channel = "0.14"
ipc-channel = { workspace = true }
metrics = {path = "../../../components/metrics"}
msg = {path = "../../../components/msg"}
profile_traits = {path = "../../../components/profile_traits"}
servo_url = {path = "../../../components/url"}
time = "0.1.12"
time = { workspace = true }

View file

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

View file

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

View file

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