[package]
edition = "2024"
rust-version = "1.88.0"
name = "uu_sort"
version = "0.7.0"
authors = ["uutils developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "sort ~ (uutils) sort input lines"
homepage = "https://github.com/uutils/coreutils"
readme = "README.package.md"
keywords = [
"coreutils",
"uutils",
"cross-platform",
"cli",
"utility",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/sort"
[features]
default = ["i18n-collator"]
i18n-collator = ["uucore/i18n-collator"]
[lib]
name = "uu_sort"
path = "src/sort.rs"
[[bin]]
name = "sort"
path = "src/main.rs"
[[bench]]
name = "sort_bench"
path = "benches/sort_bench.rs"
harness = false
[[bench]]
name = "sort_locale_c_bench"
path = "benches/sort_locale_c_bench.rs"
harness = false
[[bench]]
name = "sort_locale_de_bench"
path = "benches/sort_locale_de_bench.rs"
harness = false
[[bench]]
name = "sort_locale_utf8_bench"
path = "benches/sort_locale_utf8_bench.rs"
harness = false
[dependencies.bigdecimal]
version = "0.4"
[dependencies.binary-heap-plus]
version = "0.5.0"
[dependencies.clap]
version = "4.5"
features = [
"wrap_help",
"cargo",
"color",
]
[dependencies.compare]
version = "0.1.0"
[dependencies.fluent]
version = "0.17.0"
[dependencies.foldhash]
version = "0.2.0"
[dependencies.itertools]
version = "0.14.0"
[dependencies.memchr]
version = "2.7.2"
[dependencies.rand]
version = "0.9.0"
features = ["small_rng"]
[dependencies.rayon]
version = "1.10"
[dependencies.self_cell]
version = "1.0.4"
[dependencies.tempfile]
version = "3.15.0"
[dependencies.thiserror]
version = "2.0.3"
[dependencies.uucore]
version = "0.7.0"
features = [
"fs",
"parser-size",
"version-cmp",
"i18n-decimal",
"i18n-collator",
]
package = "uucore"
[dev-dependencies.divan]
version = "4.0.5"
package = "codspeed-divan-compat"
[dev-dependencies.tempfile]
version = "3.15.0"
[dev-dependencies.uucore]
version = "0.7.0"
features = [
"benchmark",
"fs",
"parser-size",
"version-cmp",
"i18n-collator",
]
package = "uucore"
[target.'cfg(not(target_os = "redox"))'.dependencies.ctrlc]
version = "3.4.7"
features = ["termination"]
[target."cfg(unix)".dependencies.nix]
version = "0.30"
features = ["resource"]
default-features = false
[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"))',
]