This crate exposes a single method for recursively walking through directories to find files that match a particular extension.
Add discoverer
to your Cargo.toml
:
toml
[dependencies]
discoverer = "0.1.0"
Or use cargo add discoverer
```rs use discoverer::discover;
fn main() { let discoveries = discover("txt", &[ &concat!(env!("CARGOMANIFESTDIR"), "/examples/fixtures") ]).unwrap();
dbg!(discoveries);
} ```