[package]
edition = "2021"
name = "findutils"
version = "0.9.0"
authors = ["uutils developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of GNU findutils"
homepage = "https://github.com/uutils/findutils"
readme = "README.md"
license = "MIT"
repository = "https://github.com/uutils/findutils"
[lib]
name = "findutils"
path = "src/lib.rs"
[[bin]]
name = "find"
path = "src/find/main.rs"
[[bin]]
name = "locate"
path = "src/locate/main.rs"
[[bin]]
name = "testing-commandline"
path = "src/testing/commandline/main.rs"
[[bin]]
name = "updatedb"
path = "src/updatedb/main.rs"
[[bin]]
name = "xargs"
path = "src/xargs/main.rs"
[[test]]
name = "db_tests"
path = "tests/db_tests.rs"
[[test]]
name = "exec_unit_tests"
path = "tests/exec_unit_tests.rs"
[[test]]
name = "find_exec_tests"
path = "tests/find_exec_tests.rs"
[[test]]
name = "test_find"
path = "tests/test_find.rs"
[[test]]
name = "test_xargs"
path = "tests/test_xargs.rs"
[[bench]]
name = "find_bench"
path = "benches/find_bench.rs"
harness = false
[[bench]]
name = "locate_bench"
path = "benches/locate_bench.rs"
harness = false
[[bench]]
name = "updatedb_bench"
path = "benches/updatedb_bench.rs"
harness = false
[[bench]]
name = "xargs_bench"
path = "benches/xargs_bench.rs"
harness = false
[dependencies.argmax]
version = "0.4.0"
[dependencies.chrono]
version = "0.4.45"
[dependencies.clap]
version = "4.6"
features = ["env"]
[dependencies.faccess]
version = "0.2.4"
[dependencies.itertools]
version = "0.14.0"
[dependencies.nix]
version = "0.31"
features = [
"fs",
"user",
]
[dependencies.onig]
version = "6.5"
default-features = false
[dependencies.regex]
version = "1.12"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.uucore]
version = "0.9.0"
features = [
"entries",
"fs",
"fsext",
"mode",
]
[dependencies.walkdir]
version = "2.5"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.criterion]
version = "4.7.0"
package = "codspeed-criterion-compat"
[dev-dependencies.ctor]
version = "1.0"
[dev-dependencies.filetime]
version = "0.2"
[dev-dependencies.nix]
version = "0.31"
features = ["fs"]
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.uutests]
version = "0.9.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"
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"
return_self_not_must_use = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "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.pedantic]
level = "warn"
priority = -1
[profile.release]
lto = "thin"
codegen-units = 1
[profile.release-fast]
panic = "abort"
inherits = "release"