macOS Menu Bar Utility

Rust Cleaner

Reclaim disk space from Rust build artifacts

See it in action

Your menu bar, but smarter

Features

Built for Rust developers on macOS

🍎

Native macOS

Pure Rust with objc2 AppKit bindings. No Electron, no web views -- a real native menu bar app.

🦀

Rusty Icon

The status bar icon gets progressively rustier as disk usage grows. Visual pressure to clean up.

🔄

Auto-clean

Configurable schedules (1h / 6h / 12h / 24h) with age thresholds (3 / 7 / 14 / 30 days).

📊

Per-project Bar Charts

Visual size comparison with block characters right in the menu dropdown. Spot the big ones fast.

🧹

Cleaning Animation

Sweeping dots during clean, sparkle on completion. You know exactly when it is done.

Installation

Three commands and you are running

1 cargo install rust-cleaner
2 make bundle
3 make install

Configuration

~/.config/wd-40/config.toml

# Directories to scan for Rust projects
scan_dirs = ["~/Develop", "~/Projects"]

# Remove target dirs older than N days
max_age_days = 7

# How deep to search for Cargo.toml
max_depth = 5

# Auto-clean interval in hours (0 = disabled)
auto_clean_hours = 6

Auto-clean interval and age threshold can also be set from the menu bar submenu.