Skip to content
CAI
Software that uses CAICheck a score

bootandy/dust

56.1

Adequate · 29 September 2026

3.4k

lines of production code

Rust

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Dust is a Rust-based command-line utility designed for intuitive disk usage analysis, serving as a modern alternative to the traditional 'du' tool. It provides parallel directory traversal with configurable filtering, output formatting, and shell integration, including auto-generated completions and man pages. The system supports cross-platform distribution and includes comprehensive testing to ensure accurate handling of file systems, symbolic links, and various input methods.

Features

Added shell completions for zsh, bash, PowerShell, Elvish, and Fish

The \completions\ directory now includes generated completion scripts for five shells: zsh (\\_dust\), bash (\dust.bash\), PowerShell (\\_dust.ps1\), Elvish (\dust.elv\), and Fish (\dust.fish\). These files provide tab-completion support for all \dust\ command-line flags and arguments, including options like \--depth\, \--threads\, \--config\, \--output-format\, and file path completion, improving the interactive user experience across these environments.

completions · high confidence

Generate man page as part of the build

The build process now automatically generates the \dust.1\ man page, ensuring the documentation stays in sync with the current CLI options and version (1.2.6).

man-page · high confidence

Initial release of Dust with shell completions and installer

This entry introduces the Dust CLI tool, a Rust-based alternative to 'du' for intuitive disk usage analysis. The release includes a new install.sh script for quick installation across Linux, macOS, and Windows, as well as a build.rs script that automatically generates shell completions (Bash, Zsh, Fish, PowerShell, Elvish) and a man page during the build process. The README provides comprehensive documentation on usage, configuration via XDG\_CONFIG\_HOME, and installation via various package managers like Homebrew, Cargo, and Snap.

(repo-wide) · high confidence

Behavioural changes

Added CI scripts for cross-compilation and release packaging

The CI pipeline now includes dedicated scripts to handle building, testing, and packaging the application for release. The new \ci/script.sh\ automates cross-compilation and testing using the \cross\ tool for both Linux and macOS targets, while \ci/before\_deploy.sh\ and \ci/before\_deploy.ps1\ package the compiled binaries into archives for distribution on Travis CI and AppVeyor respectively. Additionally, \ci/install.sh\ ensures the \cross\ tool is installed, and \ci/how2publish.txt\ provides documentation for the release process.

ci · high confidence

Major CLI and display overhaul with new filtering and configuration options

The application has been refactored to use a new command-line interface powered by Clap, introducing numerous new flags and behaviors. Users can now filter results by file type (-t), restrict output to only files (-F) or only directories (-D), and filter by modification, access, or change time (-M, -A, -y). A new --collapse flag allows keeping specific directories expanded, while --screen-reader mode provides an accessible text-only output. Configuration can now be persisted in a config file, supporting options like depth, reverse, and min\_size. The display engine has been rewritten to support reversed tree orientation, custom output formats (SI/IEC units), and improved terminal width handling. Performance has been significantly boosted by switching to rayon for parallel directory walking and using FxHash for inode deduplication. JSON output is now available via the -j flag, and users can read file lists from stdin or files using --files-from and --files0-from.

src · high confidence

Test coverage

Expanded integration test suite for directory traversal and file handling

Added comprehensive integration tests to verify the tool's output and behavior across various scenarios. The new tests cover exact output formatting on different platforms, flag handling (such as depth limits, thread counts, and reverse display), file filtering via input files, hidden file exclusion, and correct handling of symbolic links (both soft and hard) to prevent double-counting or duplication. Test fixtures were also added to support these scenarios, including directories with Unicode names, long paths, and name collisions.

tests · high confidence

Dependencies

Initial release of du-dust v1.2.6 with Rust 2024 edition and modern dependencies

This change introduces the initial Cargo manifest and lockfile for the project, now renamed to 'du-dust' and targeting the Rust 2024 edition. It establishes a dependency stack centered on clap 4 (with derive features), rayon for parallelism, and sysinfo 0.39, while adding build-time dependencies for generating man pages and shell completions. The release profile is configured for performance optimization via LTO and stripping, and the package metadata includes support for Debian packaging and cargo-binstall.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 63 → 56 (-6.6)
  • Rubric changed (rubric-2026.09.8 → rubric-2026.09.17) — scores are not directly comparable.

Lenses

  • Code Health 94 → 94 (+0.0)
  • Architecture 100 → 95 (-4.9)
  • Maturity 55 → 55 (+0.0)
  • Readiness 59 → 43 (-15.8)
  • Security 61 → 68 (+7.9)

Resolved (3)

  • Documentation: no architecture or design documentation (README.md)
  • Hotspot: src/dir_walker.rs (src/dir_walker.rs)
  • Off-boarding risk: anonymized user #1

New (3)

  • Dependency hygiene PARTLY measured — Cargo dependencies read, dependency currency not (crates.io unreachable)
  • Flaky test: du-dust::test_exact_output.test_substring_of_names_and_long_names
  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 2 commits — 2 feature/other, 0 fixes

By area

  • (root) — 2 commits

Notable commits

  • change: perf(walk): swap FxHash for inode dedup HashSet
  • change: version: increment version

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

bootandy/dust was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 29 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ae5c770d84316c28bc95e2a3cc7f43fea84b1f68 — the exact code this score is about.
  • Scored under rubric-2026.09.17 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-70910855e4b4.