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