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 }