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

@ -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" }