From 710fc1be3daee692437e975480dfc686b58c70c2 Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Sat, 24 Jan 2026 10:50:52 +0000 Subject: [PATCH] fix(deps): refactor rlimit package configuration --- Cargo.toml | 3 ++- tests/uutests/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bc11ed80b..2f57496a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -358,6 +358,7 @@ rand = { version = "0.9.0", features = ["small_rng"] } rand_core = "0.9.0" rayon = "1.10" regex = "1.10.4" +rlimit = "0.10.1" rstest = "0.26.0" rust-ini = "0.21.0" same-file = "1.0.6" @@ -566,7 +567,7 @@ nix = { workspace = true, features = [ "term", "user", ] } -rlimit = "0.10.1" +rlimit = { workspace = true } # Used in test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record # to deserialize an utmpx struct into a binary file diff --git a/tests/uutests/Cargo.toml b/tests/uutests/Cargo.toml index 1b523ee7e..57eea11ae 100644 --- a/tests/uutests/Cargo.toml +++ b/tests/uutests/Cargo.toml @@ -37,7 +37,7 @@ uucore = { workspace = true, features = [ [target.'cfg(unix)'.dependencies] nix = { workspace = true, features = ["process", "signal", "term", "user"] } -rlimit = "0.10.1" +rlimit = { workspace = true } [target.'cfg(all(unix, not(any(target_os = "macos", target_os = "openbsd"))))'.dependencies] xattr = { workspace = true }