| 1 |
# spell-checker:ignore tzdb zoneinfo |
| 2 |
|
| 3 |
[package] |
| 4 |
name = "uu_ls" |
| 5 |
description = "ls ~ (uutils) display directory contents" |
| 6 |
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/ls" |
| 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/ls.rs" |
| 18 |
doctest = false |
| 19 |
|
| 20 |
[dependencies] |
| 21 |
ansi-width = { workspace = true } |
| 22 |
clap = { workspace = true, features = ["env"] } |
| 23 |
glob = { workspace = true } |
| 24 |
lscolors = { workspace = true } |
| 25 |
rustc-hash = { workspace = true } |
| 26 |
terminal_size = { workspace = true } |
| 27 |
thiserror = { workspace = true } |
| 28 |
uucore = { workspace = true, features = [ |
| 29 |
"colors", |
| 30 |
"entries", |
| 31 |
"format", |
| 32 |
"fs", |
| 33 |
"fsext", |
| 34 |
"fsxattr", |
| 35 |
"i18n-collator", |
| 36 |
"parser-size", |
| 37 |
"parser-glob", |
| 38 |
"quoting-style", |
| 39 |
"time", |
| 40 |
"version-cmp", |
| 41 |
] } |
| 42 |
uutils_term_grid = { workspace = true } |
| 43 |
fluent = { workspace = true } |
| 44 |
|
| 45 |
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] |
| 46 |
selinux = { workspace = true, optional = true } |
| 47 |
|
| 48 |
# hostname crate does not support WASI (no OS-level hostname API) |
| 49 |
[target.'cfg(not(target_os = "wasi"))'.dependencies] |
| 50 |
hostname = { workspace = true } |
| 51 |
|
| 52 |
[[bin]] |
| 53 |
name = "ls" |
| 54 |
path = "src/main.rs" |
| 55 |
|
| 56 |
[dev-dependencies] |
| 57 |
divan = { workspace = true } |
| 58 |
tempfile = { workspace = true } |
| 59 |
uucore = { workspace = true, features = ["benchmark"] } |
| 60 |
|
| 61 |
[[bench]] |
| 62 |
name = "ls_bench" |
| 63 |
harness = false |
| 64 |
|
| 65 |
[features] |
| 66 |
diagnostics = ["uucore/diagnostics"] |
| 67 |
selinux = ["dep:selinux", "uucore/selinux"] |
| 68 |
smack = ["uucore/smack"] |
| 69 |
|
| 70 |
[lints] |
| 71 |
workspace = true |