[package]
edition = "2024"
rust-version = "1.88.0"
name = "uutests"
version = "0.7.0"
authors = ["uutils developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "uutils ~ 'core' uutils test library (cross-platform)"
homepage = "https://github.com/uutils/coreutils"
readme = false
keywords = [
"coreutils",
"uutils",
"cross-platform",
"cli",
"utility",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/uutils/coreutils/tree/main/tests/uutests"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "uutests"
path = "src/lib/lib.rs"
[dependencies.ctor]
version = "0.6.0"
[dependencies.libc]
version = "0.2.172"
[dependencies.pretty_assertions]
version = "1.4.0"
[dependencies.rand]
version = "0.9.0"
features = ["small_rng"]
[dependencies.regex]
version = "1.10.4"
[dependencies.tempfile]
version = "3.15.0"
[dependencies.uucore]
version = "0.7.0"
features = [
"mode",
"entries",
"process",
"signals",
"utmpx",
]
package = "uucore"
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "openbsd"))))'.dependencies.xattr]
version = "1.3.1"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
[target."cfg(unix)".dependencies.nix]
version = "0.30"
features = [
"process",
"signal",
"term",
"user",
]
default-features = false
[target."cfg(unix)".dependencies.rlimit]
version = "0.11.0"
[lints.clippy]
cargo_common_metadata = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
enum_glob_use = "allow"
flat_map_option = "allow"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
format_push_string = "allow"
from_iter_instead_of_collect = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_stack_arrays = "allow"
large_types_passed_by_value = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
unnested_or_patterns = "allow"
unused_self = "allow"
use_self = "warn"
used_underscore_items = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.collapsible_if]
level = "allow"
priority = 127
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unused_qualifications = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(fuzzing)",
'cfg(target_os, values("cygwin"))',
]