aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-05-16 19:54:19 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-05-17 11:59:35 +0200
commit2f4c47bfe7828a8045d0392a4015f441fed1aa5d (patch)
treecfdab05dff951c5c2d9be545267e7d9e73407dbd /tests/unit
parentc5d31c3ab6ad4c633869ef4c4d32cd01c480661f (diff)
downloadservo-2f4c47bfe7828a8045d0392a4015f441fed1aa5d.tar.gz
servo-2f4c47bfe7828a8045d0392a4015f441fed1aa5d.zip
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.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/metrics/Cargo.toml4
-rw-r--r--tests/unit/profile/Cargo.toml2
-rw-r--r--tests/unit/script/Cargo.toml4
-rw-r--r--tests/unit/style/Cargo.toml12
4 files changed, 11 insertions, 11 deletions
diff --git a/tests/unit/metrics/Cargo.toml b/tests/unit/metrics/Cargo.toml
index 86b0c2d10c1..7a0bf170dc7 100644
--- a/tests/unit/metrics/Cargo.toml
+++ b/tests/unit/metrics/Cargo.toml
@@ -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 }
diff --git a/tests/unit/profile/Cargo.toml b/tests/unit/profile/Cargo.toml
index 829bdfd3a2c..79deebc2213 100644
--- a/tests/unit/profile/Cargo.toml
+++ b/tests/unit/profile/Cargo.toml
@@ -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"}
diff --git a/tests/unit/script/Cargo.toml b/tests/unit/script/Cargo.toml
index 7006477707f..2af8ced2109 100644
--- a/tests/unit/script/Cargo.toml
+++ b/tests/unit/script/Cargo.toml
@@ -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"}
diff --git a/tests/unit/style/Cargo.toml b/tests/unit/style/Cargo.toml
index 2fa49b6691b..c9f17dcf973 100644
--- a/tests/unit/style/Cargo.toml
+++ b/tests/unit/style/Cargo.toml
@@ -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"}