mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
- Remove nix dependency from uucore Cargo.toml - Remove nix error conversion impls from error.rs, replace with rustix - Migrate date's clock_settime/clock_getres from nix to rustix::time - Replace nix dependency with rustix in date's Cargo.toml - Update test nix features for test utilities that still need it The nix crate is now completely removed from all source code (src/). It remains only as a dev-dependency for test code.
54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
# 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"
|
|
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 = { workspace = true }
|
|
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 = [
|
|
"fs",
|
|
"process",
|
|
"signal",
|
|
"socket",
|
|
"term",
|
|
"user",
|
|
] }
|
|
rlimit = { workspace = true }
|
|
|
|
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "openbsd"))))'.dependencies]
|
|
xattr = { workspace = true }
|