From bd7e523ef393ff68f2aac372a6eef25db2348740 Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:34:05 +0000 Subject: [PATCH] fix(deps): refactor xattr package configuration --- Cargo.lock | 1 - Cargo.toml | 1 - tests/uutests/Cargo.toml | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 96e33704a..da9dda8d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -652,7 +652,6 @@ dependencies = [ "walkdir", "wincode", "wincode-derive", - "xattr", "zip", ] diff --git a/Cargo.toml b/Cargo.toml index 52c7b5ed5..bc11ed80b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -567,7 +567,6 @@ nix = { workspace = true, features = [ "user", ] } rlimit = "0.10.1" -xattr.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 e84214ace..1b523ee7e 100644 --- a/tests/uutests/Cargo.toml +++ b/tests/uutests/Cargo.toml @@ -38,4 +38,6 @@ uucore = { workspace = true, features = [ [target.'cfg(unix)'.dependencies] nix = { workspace = true, features = ["process", "signal", "term", "user"] } rlimit = "0.10.1" + +[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "openbsd"))))'.dependencies] xattr = { workspace = true }