Crate

dirs

Cross-platform standard directory paths — home, config, cache, data.

What it is

dirs provides platform-appropriate paths for user home, configuration, cache, data, and temp directories. It follows XDG Base Directory conventions on Linux, AppData on Windows, and Library conventions on macOS.

Why it is commonly used

Used in CLI tools and desktop applications to locate config files, caches, and user data correctly on every platform without hardcoding paths like ~/.config or %APPDATA%.

1.1k
Repositories
91%
Actively maintained
969
Updated ≤ 30 days
3.5M
Total stars
959
Owners

Counted from the Cargo.toml manifests of the 1.1k indexed repositories that declare dirs as a dependency — not download counts. Dependency data last verified 2026-08-13.

Browse 1063 repositories using dirs in Repos →
Often used with

Crates that show up unusually often in dirs projects. The most distinctive pairings rank first — crates these projects use far more than the average indexed Rust project does, not just crates that are popular everywhere. Each percentage is the share of dirs projects that also use it.

Used by these organizations
50 of 1.1k repositories · ranked by stars · 969 pushed in the last 30 days
RuView90kactive

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

rtk76kactive

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

⑂ 4.8k2.0k
servo38kactive

Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.

⑂ 3.7k3.1k
delta32kactive

A syntax-highlighting pager for git, diff, grep, rg --json, and blame output

⑂ 555420
cli30kactive

Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.

meetily29kmaintenance

Privacy first, AI meeting assistant with 4x faster Parakeet/Whisper live transcription, speaker diarization, and Ollama summarization built on Rust. 100% local processing. no cloud required. Meetily (Meetly Ai - https://meetily.ai) is the #1 Self-hosted, Open-source Ai meeting note taker for macOS & Windows.

Graphite27kactive

Community-built comprehensive 2D content creation appplication for graphic design, digital art, and interactive real-time motion graphics powered by a node-based procedural graphics engine

Ciphey22kactive

⚡ Automatically decrypt encryptions without knowing the key or cipher, decode encodings, and crack hashes ⚡

← Browse all repos