[package]
edition = "2024"
rust-version = "1.85"
name = "fdu"
version = "0.3.0"
authors = ["fdu contributors"]
build = "build.rs"
include = [
"src/**",
"tests/**",
"build.rs",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fastest native du replacement and detailed file analytics for Python and Rust"
documentation = "https://docs.rs/fdu"
readme = "README.md"
keywords = [
"disk-usage",
"filesystem",
"du",
"cli",
]
categories = [
"command-line-utilities",
"filesystem",
]
license = "MIT"
repository = "https://github.com/jlevy/fdu"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["watch"]
watch = ["fdu-core/watch"]
[lib]
name = "fdu"
path = "src/lib.rs"
[[bin]]
name = "fdu"
path = "src/main.rs"
[[test]]
name = "cli_color"
path = "tests/cli_color.rs"
[[test]]
name = "cli_exit"
path = "tests/cli_exit.rs"
[[test]]
name = "detached_performance_invariants"
path = "tests/detached_performance_invariants.rs"
[[test]]
name = "directory_queries"
path = "tests/directory_queries.rs"
[[test]]
name = "scan_watermark"
path = "tests/scan_watermark_integration.rs"
[[test]]
name = "watch_controls"
path = "tests/watch_controls.rs"
required-features = ["watch"]
[[test]]
name = "watch_persistence"
path = "tests/watch_persistence.rs"
required-features = ["watch"]
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"wrap_help",
]
[dependencies.fdu-core]
version = "0.3.0"
default-features = false
[dependencies.terminal_size]
version = "0.4.4"
[dev-dependencies.tempfile]
version = "3.26"
[target."cfg(unix)".dependencies.signal-hook]
version = "0.4.4"
features = ["iterator"]
default-features = false
[target."cfg(windows)".dependencies.anstyle-query]
version = "1.1.5"
[target."cfg(windows)".dependencies.ctrlc]
version = "3.5.2"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
warnings = "deny"