From 92f9e268ee62be2059b2bef8afb46c4c9bf755c1 Mon Sep 17 00:00:00 2001 From: mattsu Date: Tue, 21 Oct 2025 14:50:02 +0900 Subject: [PATCH 1/3] chore(deps): add procfs as workspace dependency - Added procfs = "0.18" to root Cargo.toml dependencies - Updated procfs in src/uucore/Cargo.toml to use workspace version for consistent dependency management across the project --- Cargo.toml | 1 + src/uucore/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4c10113b3ba..030a5330370 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -353,6 +353,7 @@ num-traits = "0.2.19" number_prefix = "0.4" onig = { version = "~6.5.1", default-features = false } parse_datetime = "0.11.0" +procfs = "0.18" phf = "0.13.1" phf_codegen = "0.13.1" platform-info = "2.0.3" diff --git a/src/uucore/Cargo.toml b/src/uucore/Cargo.toml index 43ed7fa68db..e6493269208 100644 --- a/src/uucore/Cargo.toml +++ b/src/uucore/Cargo.toml @@ -102,7 +102,7 @@ xattr = { workspace = true, optional = true } tempfile = { workspace = true } [target.'cfg(target_os = "linux")'.dependencies] -procfs = "0.18" +procfs = {workspace = true} [target.'cfg(target_os = "windows")'.dependencies] winapi-util = { workspace = true, optional = true } From 5018f89ca0dc94db575c1062e2dbb6f4f3c229da Mon Sep 17 00:00:00 2001 From: mattsu Date: Tue, 21 Oct 2025 14:57:28 +0900 Subject: [PATCH 2/3] style(uucore): fix spacing in procfs dependency for Linux target Improved formatting consistency in Cargo.toml by adding a space after the opening brace in the procfs dependency declaration for the Linux target configuration. --- src/uucore/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uucore/Cargo.toml b/src/uucore/Cargo.toml index e6493269208..d5def4b0901 100644 --- a/src/uucore/Cargo.toml +++ b/src/uucore/Cargo.toml @@ -102,7 +102,7 @@ xattr = { workspace = true, optional = true } tempfile = { workspace = true } [target.'cfg(target_os = "linux")'.dependencies] -procfs = {workspace = true} +procfs = { workspace = true } [target.'cfg(target_os = "windows")'.dependencies] winapi-util = { workspace = true, optional = true } From 7075ee4f750df51d7dff7dbcb3429174dbe1add4 Mon Sep 17 00:00:00 2001 From: mattsu Date: Tue, 21 Oct 2025 15:37:47 +0900 Subject: [PATCH 3/3] chore(deps): reorder procfs dependency in Cargo.toml for better organization --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 030a5330370..9741b7d7fbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -353,10 +353,10 @@ num-traits = "0.2.19" number_prefix = "0.4" onig = { version = "~6.5.1", default-features = false } parse_datetime = "0.11.0" -procfs = "0.18" phf = "0.13.1" phf_codegen = "0.13.1" platform-info = "2.0.3" +procfs = "0.18" rand = { version = "0.9.0", features = ["small_rng"] } rand_core = "0.9.0" rayon = "1.10"