[package]
name = "walkthrough"
version = "0.2.0"
authors = ["Edgar Linton <150683481+edgar-linton@users.noreply.github.com>"]
edition = "2024"
description = "A Rust crate for recursive directory traversal."
repository = "https://github.com/edgar-linton/walkthrough"
license = "MIT OR Apache-2.0"
keywords = ["filesystem", "walkdir", "recursive", "iterator"]
categories = ["filesystem", "os"]
[features]
default = []
async = ["dep:tokio", "dep:futures-core", "dep:async-stream"]
[dependencies]
thiserror = "2.0"
tokio = { version = "1.52", features = ["fs"], optional = true }
futures-core = { version = "0.3", optional = true }
async-stream = { version = "0.3", optional = true }
[target.'cfg(unix)'.dependencies]
once_cell = "1.21"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = [
"Win32_Storage_FileSystem",
"Win32_Foundation",
] }
[dev-dependencies]
tempfile = "3"
tokio = { version = "1.52", features = ["macros", "rt-multi-thread"] }