Skip to content
CAI
Software that uses CAICheck a score

bootandy/dust

53.3

Adequate · 14 November 2026

3.6k

lines of production code

Rust

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

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 cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 57 → 53 (-3.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 96 → 93 (-2.7)
  • Architecture 95 → 92 (-3.2)
  • Maturity 58 → 58 (-0.0)
  • Readiness 43 → 45 (+1.7)
  • Security 68 → 47 (-21.1)

Resolved (10)

  • Flaky test: du-dust::test_exact_output.test_apparent_size
  • Flaky test: du-dust::test_exact_output.test_main_basic
  • Flaky test: du-dust::test_exact_output.test_main_multi_arg
  • No ADRs found
  • Off-boarding risk: anonymized user #1
  • Outdated: clap
  • Outdated: clap_complete
  • Outdated: rustc-hash
  • Outdated: serde_json
  • du_dust::dir_walker::ignore_file (cognitive 16) (src/dir_walker.rs)

New (14)

  • Low cohesion: Config (LCOM4 10) (src/config.rs)
  • Low coverage: src/cli.rs (src/cli.rs)
  • Low coverage: src/config.rs (src/config.rs)
  • Low coverage: src/display.rs (src/display.rs)
  • Low coverage: src/display_node.rs (src/display_node.rs)
  • Low coverage: src/filter.rs (src/filter.rs)
  • Low coverage: src/main.rs (src/main.rs)
  • Low coverage: src/progress.rs (src/progress.rs)
  • No ADRs found (Cargo.toml)
  • Off-boarding risk: anonymized user #1
  • Outdated: unicode-width
  • Repeated repair: src/platform.rs (src/platform.rs)
  • TooManyMethods: Config (src/config.rs)
  • du_dust::display::human_readable_number (cognitive 17) (src/display.rs)

Changes since last survey

  • 11 commits — 6 feature/other, 5 fixes

By area

  • src/dir_walker.rs — 3 commits
  • (root) — 2 commits
  • src/config.rs — 2 commits
  • src/display.rs — 2 commits
  • .github/workflows — 1 commit
  • src/platform.rs — 1 commit

Notable commits

  • fix: ci: try fix risc64 build
  • fix: fix windows
  • fix: fix(config): handle ambiguous local midnight
  • fix: fix: show a size that rounds up to 10 without a decimal place
  • fix: maybe fix windows build
  • change: deps: cargo update
  • change: feat: support ignore-directory and invert-filter in config file
  • change: perf(walk): cache per-dir stat to eliminate duplicate syscall
  • change: perf(walk): skip per-file statx in --filecount mode
  • change: perf(walk): trim filter-path overhead and skip ignore_file when off
  • change: version: increment version

Written by cca.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 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 079c55266917387e416e0f871c97c06da52df12d — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.