7 releases

Uses new Rust 2024

new 0.1.6 Nov 10, 2025
0.1.5 Nov 8, 2025
0.1.4 Oct 31, 2025
0.1.3 Aug 20, 2025
0.1.2 May 19, 2025

#1226 in Filesystem


Used in 2 crates

MIT license

51KB
415 lines

Functions for use in Managing File IO

The functions in the modules below were written to help manage file paths, file names, and other file-based operations. I've used them in several different projects which is why I've kept them together in a separate crate. Their greatest weakness is poor error handling, so keep that in mind if you choose to use them. By the way, I need help getting those weaknesses corrected, so if you feel like taking that on, please check out the issues tab in this crate's repository.

Note the following:

  1. I wrote these functions early-on while I was still learning Rust and the code quality reflects that.
  2. While the previous module -- file_fltk -- is dependent on the FLTK-RS crate, the functions in this module rely on the Rust standard crates along with some functions from lib_utils, another of my personal crates. These functions are all terminal-based.

lib_file

File handling utility functions.

Description

Not much more to say. I wrote the functions in this crate to help with other projects on which I am working.

Word of Caution

These functions tend to be weak on error handling. My suggestion is to copy the code into your project and then modify from there. Better than building from scratch. I think. Have fun!

Good Intentions

You will find some of these functions documented with really nice examples. The rest -- not so much. I always have intended to go back and add examples to the rest of them, but well, you know, time sometimes just isn't there. :>)

License

MIT license.

Dependencies

~16–26MB
~400K SLoC