I would like to self-suggest the crate scandir
. It is a very fast file tree scanner. The high performance is achieved through multithreaded metadata reading. It comes with 2 packages:
- One is for direct use in other Rust project without pyo3 dependency.
- And the other is for creating a Python module.
The crate and the doc can be found here.
Best regards