From 2f4c47bfe7828a8045d0392a4015f441fed1aa5d Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 16 May 2023 19:54:19 +0200 Subject: 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. --- components/gfx/Cargo.toml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'components/gfx') diff --git a/components/gfx/Cargo.toml b/components/gfx/Cargo.toml index dfb1888f37f..294ec44d16a 100644 --- a/components/gfx/Cargo.toml +++ b/components/gfx/Cargo.toml @@ -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" -- cgit v1.2.3