From c5d0d9b605e89479d0f4a83d15aa11b360cc8df4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 15 Aug 2024 14:44:29 -0400 Subject: [PATCH] build-sys: Move a few dev-deps to workspace deps Just to increase sharing. --- Cargo.toml | 3 +++ lib/Cargo.toml | 6 +++--- tests-integration/Cargo.toml | 2 +- utils/Cargo.toml | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f2c63fd9a..2d7c69e30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,10 +23,13 @@ camino = "1.1.6" cap-std-ext = "4.0.2" chrono = { version = "0.4.38", default-features = false } clap = "4.5.4" +indoc = "2.0.5" fn-error-context = "0.2.1" libc = "0.2.154" serde = "1.0.199" serde_json = "1.0.116" +similar-asserts = "1.5.0" +static_assertions = "1.1.0" tempfile = "3.10.1" tracing = "0.1.40" tokio = ">= 1.37.0" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 96dcb2d39..1f63cfbc9 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -49,9 +49,9 @@ uuid = { version = "1.8.0", features = ["v4"] } tini = "1.3.0" [dev-dependencies] -indoc = "2.0.5" -similar-asserts = { version = "1.5.0" } -static_assertions = "1.1.0" +indoc = { workspace = true } +similar-asserts = { workspace = true } +static_assertions = { workspace = true } [features] default = ["install"] diff --git a/tests-integration/Cargo.toml b/tests-integration/Cargo.toml index 7a07fdc55..87b9a95df 100644 --- a/tests-integration/Cargo.toml +++ b/tests-integration/Cargo.toml @@ -16,7 +16,7 @@ camino = { workspace = true } cap-std-ext = { workspace = true } clap = { workspace = true, features = ["derive","cargo"] } fn-error-context = { workspace = true } -indoc = "2.0.5" +indoc = { workspace = true } libtest-mimic = "0.7.3" oci-spec = "0.6.5" rustix = { "version" = "0.38.34", features = ["thread", "fs", "system", "process"] } diff --git a/utils/Cargo.toml b/utils/Cargo.toml index 0a28b807e..9d002e78f 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -15,8 +15,8 @@ tracing = { workspace = true } tokio = { workspace = true, features = ["process"] } [dev-dependencies] -similar-asserts = { version = "1.5.0" } -static_assertions = "1.1.0" +similar-asserts = { workspace = true } +static_assertions = { workspace = true } [lints] workspace = true