Registry / async / async-walkdir

async-walkdir

JSON →
library2.1.0rscratesunverified

Asynchronous directory traversal for Rust.

# Cargo.toml [dependencies] async-walkdir = "2.1.0"
INSTALL
IMPORT
SIG · ASYNC-WALKDIR
A
async-walkdir
asyncrustv2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WalkDir
use async_walkdir::WalkDir;

Walk a directory asynchronously.

use async_walkdir::WalkDir; use futures_lite::stream::StreamExt; #[tokio::main] async fn main() { let mut entries = WalkDir::new("."); while let Some(entry) = entries.next().await { println!("{:?}", entry); } }
Debug
Known issues
gotchaRequires an async runtime like tokio or async-std.
fix
Add tokio or async-std as a dependency and use the appropriate runtime attribute.
affects: >=2.0.0
Upgrade
Version history
2.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
47 hits · last 30 days
node
42
Resources
async-walkdir — cargo add async-walkdir · libregistry