| 1 |
[package] |
| 2 |
name = "uu_du" |
| 3 |
description = "du ~ (uutils) display disk usage" |
| 4 |
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/du" |
| 5 |
version.workspace = true |
| 6 |
license.workspace = true |
| 7 |
homepage.workspace = true |
| 8 |
keywords.workspace = true |
| 9 |
categories.workspace = true |
| 10 |
edition.workspace = true |
| 11 |
rust-version.workspace = true |
| 12 |
readme.workspace = true |
| 13 |
|
| 14 |
[lib] |
| 15 |
path = "src/du.rs" |
| 16 |
doctest = false |
| 17 |
|
| 18 |
[dependencies] |
| 19 |
# For the --exclude & --exclude-from options |
| 20 |
glob = { workspace = true } |
| 21 |
clap = { workspace = true } |
| 22 |
uucore = { workspace = true, features = [ |
| 23 |
"format", |
| 24 |
"fsext", |
| 25 |
"i18n-decimal", |
| 26 |
"parser-size", |
| 27 |
"parser-glob", |
| 28 |
"time", |
| 29 |
] } |
| 30 |
rustc-hash = { workspace = true } |
| 31 |
thiserror = { workspace = true } |
| 32 |
fluent = { workspace = true } |
| 33 |
|
| 34 |
[target.'cfg(all(unix, not(any(target_os = "aix", target_os = "hurd", target_os = "redox"))))'.dependencies] |
| 35 |
uucore = { workspace = true, features = ["safe-traversal"] } |
| 36 |
|
| 37 |
[target.'cfg(windows)'.dependencies] |
| 38 |
windows-sys = { workspace = true, features = [ |
| 39 |
"Win32_Storage_FileSystem", |
| 40 |
"Win32_Foundation", |
| 41 |
] } |
| 42 |
|
| 43 |
[[bin]] |
| 44 |
name = "du" |
| 45 |
path = "src/main.rs" |
| 46 |
|
| 47 |
[dev-dependencies] |
| 48 |
divan = { workspace = true } |
| 49 |
tempfile = { workspace = true } |
| 50 |
uucore = { workspace = true, features = ["benchmark"] } |
| 51 |
|
| 52 |
[features] |
| 53 |
diagnostics = ["uucore/diagnostics"] |
| 54 |
|
| 55 |
[lints] |
| 56 |
workspace = true |
| 57 |
|
| 58 |
[[bench]] |
| 59 |
name = "du_bench" |
| 60 |
harness = false |