As you may have noticed, using walkdir to filter files based on their name can be a bit clunky at times. Luckily, you can greatly simplify this by using the glob crate, which brings you its titular patterns, known from Unix, right into Rust.






















































As you may have noticed, using walkdir to filter files based on their name can be a bit clunky at times. Luckily, you can greatly simplify this by using the glob crate, which brings you its titular patterns, known from Unix, right into Rust.