Ben Chuanlong Du's Blog

It is never too late to learn.

Useful Rust Crates for Filesystem

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

std::fs

camino

Camino is an extension of the std::path module that adds new Utf8PathBuf and Utf8Path types.

glob

glob supports matching file paths against Unix shell style patterns.

jwalk

jwalk performs filesystem walk in parallel with streamed and sorted results.

trash-rs

trash-rs is a Rust library for moving files to the Recycle Bin

open

open opens a path or URL using the program configured on the system.

notify

notify is a cross-platform filesystem notification library .

walkdir

walkdir is a cross platform Rust library for efficiently walking a directory recursively. Comes with support for following symbolic links, controlling the number of open file descriptors and efficient mechanisms for pruning the entries in the directory tree.

References

Comments