[](https://github.com/qjerome/fs-walk/actions/workflows/rust.yml)
[](https://crates.io/crates/fs-walk)
[](https://docs.rs/fs-walk)
`fs_walk` is a crate providing functionalities to walk a
file-system recursively using `std` Rust APIs.
This crate currently supports:
- depth configuration
- results chunking to feed any batch processing routine
- result selection (only files, only dirs, by extension)
- regex matching
# Features
- `regex`: enable regex matching
# Example
```rust
use fs_walk;
let o = fs_walk::WalkOptions::new()
// we want to walk only files
.files()
// we want files with .o extension
.extension("o");
assert!(o.walk("./").count() > 0);
```