# spell-checker:ignore (features) zerocopy serde

[package]
name = "uutests"
description = "uutils ~ 'core' uutils test library (cross-platform)"
repository = "https://github.com/uutils/coreutils/tree/main/tests/uutests"
authors.workspace = true
categories.workspace = true
edition.workspace = true
rust-version.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
version.workspace = true

[package.metadata.docs.rs]
all-features = true

[lints]
workspace = true

[lib]
path = "src/lib/lib.rs"

[dependencies]
ctor = { workspace = true }
libc = { workspace = true }
pretty_assertions = "1.4.0"
rand = { workspace = true }
regex = { workspace = true }
tempfile = { workspace = true }
uucore = { workspace = true, features = [
  "mode",
  "entries",
  "process",
  "signals",
  "utmpx",
] }

[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]

[target.'cfg(unix)'.dependencies]
nix = { workspace = true, features = ["process", "signal", "term", "user"] }
rlimit = { workspace = true }

[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "openbsd"))))'.dependencies]
xattr = { workspace = true }
