BurntSushi / walkdir

Rust library for walking directories recursively.
The Unlicense
1.24k stars 107 forks source link

Make WalkDir Send + Sync #41

Closed KodrAus closed 7 years ago

KodrAus commented 7 years ago

Relevant API Guideline

Add Send + Sync bounds to the sort_by function box, so that WalkDir can be Send + Sync. To make sure it doesn't regress, we should also add an assert_send and assert_sync macro (see the API guideline for inspiration) and test WalkDir, Iter and IterFilterEntry.