The package allows for scanning directories in parallel.
use std::path::Path;
let filter = |_: &Path| true;
let map = |path: &Path, _| Ok(path.exists());
let (paths, results): (Vec<_>, Vec<_>) = folder::scan("src", filter, map, (), None).unzip();
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.