# BurntSushi/walkdir

Rust library for walking directories recursively.

Repository: https://github.com/BurntSushi/walkdir
Canonical: https://ross.abutalabs.com/products/walkdir
Language: Rust
License: Unlicense
License Family: permissive
Last push: 2026-06-23T00:21:46+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 35, longevity 100
- inputs: {"age_days": 4003, "days_push": 72, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1537, forks 131 (observed 2026-08-28T04:05:00.115523+00:00)

## What it is
Walkdir is a cross-platform Rust library for efficiently walking a directory tree recursively. It supports following symbolic links, controlling open file descriptor counts, and pruning entries via iterator adapters.

## Use cases
- recursively list all files in a directory tree in Rust
- find files matching a pattern across nested directories
- skip hidden files while walking a directory efficiently
- traverse directories following symbolic links
- limit open file descriptors during deep directory traversal
- build a custom file search tool like find

## When to choose
- you need fast, idiomatic recursive directory iteration in Rust
- you want fine-grained control over traversal (symlinks, depth, pruning, error handling)
- performance comparable to find/nftw matters

## When to avoid
- you need async directory walking
- you only need a one-off shell script where find suffices
- you need glob-based matching built in (use the glob crate alongside)

## Facets
- artifact type: library
- maturity: stable
- function: file-system, developer-tools
- domain: developer-tools, files
- platform: rust, cross-platform, windows
- tags: directory-walker, iterator, filesystem-traversal, symlinks, command-line, linux, macos

## Member repositories
- BurntSushi/walkdir (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:00.115523+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:59.200001+00:00, confidence not recorded.
  - readme: https://github.com/BurntSushi/walkdir (fetched 2026-08-28T04:05:00.115523+00:00, sha 0ae38bfd4af5)
  - registry_crates: https://crates.io/api/v1/crates/walkdir (fetched 2026-08-29T11:32:37.809982+00:00, sha 32366a69e886)
- Data as of 2026-08-30T08:39:29.467469+00:00.
