utils_box_pathfinder/
lib.rs

1//! # Summary
2//! A toolbox library that holds a useful collection of small unitilies written in Rust that make our life easier when writting Rust applications.
3//!
4//! # Utilities provided:
5//!
6//! ## Paths
7//! Search paths for a specific file in directories with known or unknown paths
8//!
9//! Mininal Example:
10//! ```ignore
11//!     let paths = IncludePathsBuilder::new()
12//!             .include_exe_dir()
13//!             .include_known("/home/user/")
14//!             .include_unknown("utils-box")
15//!             .build();
16//!
17//!     let pattern = "test_*.tar";
18//!
19//!     let file_found_in = paths.search_glob(pattern);
20//!
21//! ```
22//!
23
24pub mod paths;