From 8ad597222a3f768b5ba3e260dd896ea64a0bf70a Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 1 Dec 2025 11:21:20 +0800 Subject: Add glob pattern matching utility This implements a Globber struct that can match files and directories using wildcard patterns (* and ?). It supports relative paths, home directory expansion with ~, and cross-platform path separators. The implementation includes pattern matching with backtracking for complex patterns and handles different directory prefixes (current, user home, and root). --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 6c7e6cf..6082cd6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,5 +59,6 @@ rust-i18n = "3" # Regex regex = "1.12.1" -# File +# File & Directory walkdir = "2.5.0" +dirs = "6.0.0" -- cgit