From d4c3642f8b7293909ae903a09c792a2df0042add Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Sat, 12 Sep 2026 18:04:39 +0100 Subject: [PATCH] cargo: use workspace inheritance for dev-dependencies --- Cargo.toml | 3 ++- src/uu/pidof/Cargo.toml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7c5f22a3..a1ec14f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,6 +67,7 @@ jiff = "0.2.15" nix = { version = "0.30", default-features = false, features = ["process"] } phf = "0.14.0" phf_codegen = "0.14.0" +pretty_assertions = "1.4.0" prettytable-rs = "0.10.0" rand = { version = "0.10.0" } ratatui = "0.30.0" @@ -118,7 +119,7 @@ watch = { optional = true, version = "0.0.1", package = "uu_watch", path = "src/ [dev-dependencies] chrono = { workspace = true } ctor = { workspace = true } -pretty_assertions = "1.4.0" +pretty_assertions = { workspace = true } rand = { workspace = true } regex = { workspace = true } tempfile = { workspace = true } diff --git a/src/uu/pidof/Cargo.toml b/src/uu/pidof/Cargo.toml index 5ab7b7fb..53fd967d 100644 --- a/src/uu/pidof/Cargo.toml +++ b/src/uu/pidof/Cargo.toml @@ -16,6 +16,7 @@ workspace = true [dependencies] clap = { workspace = true } uucore = { workspace = true } + uu_pgrep = { path = "../pgrep" } [target.'cfg(unix)'.dependencies]