| 1 |
# spell-checker:ignore bigdecimal foldhash |
| 2 |
|
| 3 |
[package] |
| 4 |
name = "uu_sort" |
| 5 |
description = "sort ~ (uutils) sort input lines" |
| 6 |
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/sort" |
| 7 |
version.workspace = true |
| 8 |
license.workspace = true |
| 9 |
homepage.workspace = true |
| 10 |
keywords.workspace = true |
| 11 |
categories.workspace = true |
| 12 |
edition.workspace = true |
| 13 |
rust-version.workspace = true |
| 14 |
readme.workspace = true |
| 15 |
|
| 16 |
[lib] |
| 17 |
path = "src/sort.rs" |
| 18 |
doctest = false |
| 19 |
|
| 20 |
[features] |
| 21 |
default = ["i18n-collator"] |
| 22 |
diagnostics = ["uucore/diagnostics"] |
| 23 |
i18n-collator = ["uucore/i18n-collator"] |
| 24 |
|
| 25 |
[dependencies] |
| 26 |
bigdecimal = { workspace = true } |
| 27 |
clap = { workspace = true } |
| 28 |
itertools = { workspace = true } |
| 29 |
memchr = { workspace = true } |
| 30 |
rand = { workspace = true } |
| 31 |
rayon = { workspace = true } |
| 32 |
self_cell = { workspace = true } |
| 33 |
tempfile = { workspace = true } |
| 34 |
thiserror = { workspace = true } |
| 35 |
uucore = { workspace = true, features = [ |
| 36 |
"fs", |
| 37 |
"parser-size", |
| 38 |
"version-cmp", |
| 39 |
"i18n-decimal", |
| 40 |
"i18n-collator", |
| 41 |
"i18n-datetime", |
| 42 |
] } |
| 43 |
fluent = { workspace = true } |
| 44 |
foldhash = { workspace = true } |
| 45 |
|
| 46 |
[target.'cfg(all(unix, not(any(target_os = "redox", target_os = "fuchsia", target_os = "haiku", target_os = "solaris", target_os = "illumos"))))'.dependencies] |
| 47 |
rustix = { workspace = true, features = ["fs", "system", "process"] } |
| 48 |
|
| 49 |
[target.'cfg(not(any(target_os = "redox", target_os = "wasi")))'.dependencies] |
| 50 |
ctrlc = { workspace = true } |
| 51 |
|
| 52 |
[target.'cfg(unix)'.dependencies] |
| 53 |
libc = { workspace = true } |
| 54 |
|
| 55 |
[dev-dependencies] |
| 56 |
divan = { workspace = true } |
| 57 |
tempfile = { workspace = true } |
| 58 |
uucore = { workspace = true, features = [ |
| 59 |
"benchmark", |
| 60 |
"fs", |
| 61 |
"parser-size", |
| 62 |
"version-cmp", |
| 63 |
"i18n-collator", |
| 64 |
"i18n-datetime", |
| 65 |
] } |
| 66 |
|
| 67 |
[lints] |
| 68 |
workspace = true |
| 69 |
|
| 70 |
[[bin]] |
| 71 |
name = "sort" |
| 72 |
path = "src/main.rs" |
| 73 |
|
| 74 |
[[bench]] |
| 75 |
name = "sort_bench" |
| 76 |
harness = false |
| 77 |
|
| 78 |
[[bench]] |
| 79 |
name = "sort_locale_c_bench" |
| 80 |
harness = false |
| 81 |
|
| 82 |
[[bench]] |
| 83 |
name = "sort_locale_utf8_bench" |
| 84 |
harness = false |
| 85 |
|
| 86 |
[[bench]] |
| 87 |
name = "sort_bench_merge" |
| 88 |
harness = false |
| 89 |
|
| 90 |
[[bench]] |
| 91 |
name = "sort_locale_de_bench" |
| 92 |
harness = false |