summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-12-01 11:21:20 +0800
committer魏曹先生 <1992414357@qq.com>2025-12-01 11:21:20 +0800
commit8ad597222a3f768b5ba3e260dd896ea64a0bf70a (patch)
tree1614a9cb1373f8fb99819b763722274d8e0cfc06 /Cargo.toml
parent380501cb3b69bc540953d671142a50de9cb62b51 (diff)
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).
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 2 insertions, 1 deletions
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"